pub enum TimerLoopAction {
Continue,
Stop,
StopWhenIdle,
}
Expand description
A desired action to be taken by the timer loop.
Variants§
Continue
Continue the timer loop.
Stop
Stop the timer loop immediately.
StopWhenIdle
Stop the timer loop when it becomes idle.
Note that this does not prevent new jobs from being added, and the timer loop will continue to run until it becomes idle.
Auto Trait Implementations§
impl Freeze for TimerLoopAction
impl RefUnwindSafe for TimerLoopAction
impl Send for TimerLoopAction
impl Sync for TimerLoopAction
impl Unpin for TimerLoopAction
impl UnwindSafe for TimerLoopAction
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