pub enum TimerMode {
Repeating,
OneShot,
Inert,
}Expand description
Timer mode (repeating, one-shot, or inert)
Variants§
Repeating
Timer fires repeatedly at the specified period
OneShot
Timer fires once then becomes inert
Inert
Timer never fires (placeholder)
Trait Implementations§
impl Copy for TimerMode
impl Eq for TimerMode
impl StructuralPartialEq for TimerMode
Auto Trait Implementations§
impl Freeze for TimerMode
impl RefUnwindSafe for TimerMode
impl Send for TimerMode
impl Sync for TimerMode
impl Unpin for TimerMode
impl UnsafeUnpin for TimerMode
impl UnwindSafe for TimerMode
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