Enum wheel_timer2::Behave
source · [−]pub enum Behave {
Cancel,
Change(Duration),
Repeat,
}Expand description
Behavior after task completion
Cancel: cancel the task, which is the default behavior.
Change: change the time interval and continue the task.
Repeat: repeat the task.
Variants
Cancel
Change(Duration)
Repeat
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Behave
impl UnwindSafe for Behave
Blanket Implementations
Mutably borrows from an owned value. Read more