Enum calloop::timer::TimeoutAction
source · Expand description
Action to reschedule a timeout if necessary
Variants
Drop
Don’t reschedule this timer
ToInstant(Instant)
Reschedule this timer to a given Instant
ToDuration(Duration)
Reschedule this timer to a given Duration in the future
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TimeoutAction
impl Send for TimeoutAction
impl Sync for TimeoutAction
impl Unpin for TimeoutAction
impl UnwindSafe for TimeoutAction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more