pub struct CountdownTimer { /* private fields */ }Expand description
A simple countdown bounded by an absolute deadline.
No thread, no timer: compute remaining time on demand.
Implementations§
Auto Trait Implementations§
impl Freeze for CountdownTimer
impl RefUnwindSafe for CountdownTimer
impl Send for CountdownTimer
impl Sync for CountdownTimer
impl Unpin for CountdownTimer
impl UnsafeUnpin for CountdownTimer
impl UnwindSafe for CountdownTimer
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