pub enum Status {
NotStarted,
Running,
Completed,
}Expand description
The current status of a scheduler.
Variants§
NotStarted
The scheduler has not yet started running.
Running
The scheduler is currently running.
Completed
The scheduler has completed.
Implementations§
Source§impl Status
impl Status
pub const fn is_not_started(self) -> bool
pub const fn is_running(self) -> bool
pub const fn is_completed(self) -> bool
Trait Implementations§
Source§impl Ord for Status
impl Ord for Status
Source§impl PartialOrd for Status
impl PartialOrd for Status
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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