pub struct PendingTimer {
pub id: TimerId,
pub delay: Duration,
pub repeating: bool,
}Expand description
Pending timer registration
Fields§
§id: TimerIdEngine-assigned timer ID.
delay: DurationDelay before the timer fires.
repeating: boolWhether the timer repeats after firing.
Auto Trait Implementations§
impl Freeze for PendingTimer
impl RefUnwindSafe for PendingTimer
impl Send for PendingTimer
impl Sync for PendingTimer
impl Unpin for PendingTimer
impl UnsafeUnpin for PendingTimer
impl UnwindSafe for PendingTimer
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