pub struct TimerHandle(/* private fields */);
Implementations§
Source§impl TimerHandle
impl TimerHandle
pub fn is_elapsed(&self) -> bool
pub fn poll_elapsed(&self, cx: &mut Context<'_>) -> Poll<()>
Trait Implementations§
Source§impl Debug for TimerHandle
impl Debug 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 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