pub struct DummyTimer;
Expand description
Dummy Timer
Trait Implementations§
Source§impl Future for DummyTimer
impl Future for DummyTimer
Source§impl Oneshot for DummyTimer
impl Oneshot for DummyTimer
Source§fn is_ticking(&self) -> bool
fn is_ticking(&self) -> bool
Returns whether timer is ongoing. Read more
Source§fn is_expired(&self) -> bool
fn is_expired(&self) -> bool
Returns whether timer has expired.
Auto Trait Implementations§
impl Freeze for DummyTimer
impl RefUnwindSafe for DummyTimer
impl Send for DummyTimer
impl Sync for DummyTimer
impl Unpin for DummyTimer
impl UnwindSafe for DummyTimer
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<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more