pub struct WakeKey { /* private fields */ }Expand description
Identifies one queued entry, and orders the queue: earliest deadline first,
ties broken by submission order. Being a key rather than a field of the
entry is what makes an entry addressable — a BinaryHeap
can only pop its top, so an entry it holds is reachable by nobody and lives
until its deadline no matter who has lost interest.
Trait Implementations§
impl Copy for WakeKey
impl Eq for WakeKey
Source§impl Ord for WakeKey
impl Ord for WakeKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for WakeKey
impl PartialOrd for WakeKey
impl StructuralPartialEq for WakeKey
Auto Trait Implementations§
impl Freeze for WakeKey
impl RefUnwindSafe for WakeKey
impl Send for WakeKey
impl Sync for WakeKey
impl Unpin for WakeKey
impl UnsafeUnpin for WakeKey
impl UnwindSafe for WakeKey
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