pub struct TimerHandle { /* private fields */ }Expand description
Owner of a scheduled timer. Dropping cancels it (no-op if already fired).
Implementations§
Source§impl TimerHandle
impl TimerHandle
Trait Implementations§
Source§impl Drop for TimerHandle
impl Drop for TimerHandle
Auto Trait Implementations§
impl Freeze for TimerHandle
impl RefUnwindSafe for TimerHandle
impl Send for TimerHandle
impl Sync for TimerHandle
impl Unpin for TimerHandle
impl UnsafeUnpin for TimerHandle
impl UnwindSafe for TimerHandle
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