pub struct TimerQueueItem {
pub next: Cell<Option<TaskRef>>,
pub expires_at: Cell<u64>,
}
Expand description
An item in the timer queue.
Fields§
§next: Cell<Option<TaskRef>>
The next item in the queue.
If this field contains Some
, the item is in the queue. The last item in the queue has a
value of Some(dangling_pointer)
expires_at: Cell<u64>
The time at which this item expires.
Trait Implementations§
impl Sync for TimerQueueItem
Auto Trait Implementations§
impl !Freeze for TimerQueueItem
impl !RefUnwindSafe for TimerQueueItem
impl Send for TimerQueueItem
impl Unpin for TimerQueueItem
impl !UnwindSafe for TimerQueueItem
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