Enum prodash::progress::State [−][src]
pub enum State {
Blocked(&'static str, Option<SystemTime>),
Halted(&'static str, Option<SystemTime>),
Running,
}
Expand description
Indicate whether a progress can or cannot be made.
Variants
Blocked(&'static str, Option<SystemTime>)
Indicates a task is blocked and cannot indicate progress, optionally until the given time. The task cannot easily be interrupted.
Halted(&'static str, Option<SystemTime>)
Indicates a task cannot indicate progress, optionally until the given time. The task can be interrupted.
Running
The task is running
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for State
impl UnwindSafe for State
Blanket Implementations
Mutably borrows from an owned value. Read more