pub struct TimerEntry {
pub target_pid: u64,
pub message: Term,
pub expires_at: Instant,
pub kind: TimerKind,
/* private fields */
}Expand description
Timer entry metadata stored in the wheel index.
Fields§
§target_pid: u64Process that receives the message when the timer expires.
message: TermMessage to deliver.
expires_at: InstantAbsolute expiry instant.
kind: TimerKindWhat the scheduler does with this timer when it fires.
Trait Implementations§
Source§impl Clone for TimerEntry
impl Clone for TimerEntry
Source§fn clone(&self) -> TimerEntry
fn clone(&self) -> TimerEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimerEntry
impl Debug for TimerEntry
impl Eq for TimerEntry
Source§impl PartialEq for TimerEntry
impl PartialEq for TimerEntry
impl StructuralPartialEq for TimerEntry
Auto Trait Implementations§
impl Freeze for TimerEntry
impl RefUnwindSafe for TimerEntry
impl Send for TimerEntry
impl Sync for TimerEntry
impl Unpin for TimerEntry
impl UnsafeUnpin for TimerEntry
impl UnwindSafe for TimerEntry
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.