pub(crate) struct Expiration {
pub(crate) level: usize,
pub(crate) slot: usize,
pub(crate) deadline: u64,
}Expand description
Indicates when a slot must be processed next.
Fields§
§level: usizeThe level containing the slot.
slot: usizeThe slot index.
deadline: u64The instant at which the slot needs to be processed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Expiration
impl RefUnwindSafe for Expiration
impl Send for Expiration
impl Sync for Expiration
impl Unpin for Expiration
impl UnwindSafe for Expiration
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