pub(crate) struct ViewInfo {
pub(crate) view: ViewNumber,
pub(crate) deadline: Instant,
}
Expand description
Describes a view (most often the current view), in terms of its view number and its view deadline (the instant in time in which the view should end if no progress was made).
Fields§
§view: ViewNumber
§deadline: Instant
Implementations§
Trait Implementations§
impl Eq for ViewInfo
impl StructuralPartialEq for ViewInfo
Auto Trait Implementations§
impl Freeze for ViewInfo
impl RefUnwindSafe for ViewInfo
impl Send for ViewInfo
impl Sync for ViewInfo
impl Unpin for ViewInfo
impl UnwindSafe for ViewInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)