pub enum WorkStatus {
Run,
DoneWithOutput,
DoneWithoutOutput,
}Variants§
Implementations§
Source§impl WorkStatus
impl WorkStatus
pub fn produces_output(&self) -> bool
Trait Implementations§
Source§impl Clone for WorkStatus
impl Clone for WorkStatus
Source§fn clone(&self) -> WorkStatus
fn clone(&self) -> WorkStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkStatus
impl Debug for WorkStatus
Source§impl Default for WorkStatus
impl Default for WorkStatus
Source§fn default() -> WorkStatus
fn default() -> WorkStatus
Returns the “default value” for a type. Read more
Source§impl From<WorkStatus> for BlockWorkStatus
impl From<WorkStatus> for BlockWorkStatus
Source§fn from(value: WorkStatus) -> BlockWorkStatus
fn from(value: WorkStatus) -> BlockWorkStatus
Converts to this type from the input type.
Source§impl Hash for WorkStatus
impl Hash for WorkStatus
Source§impl PartialEq for WorkStatus
impl PartialEq for WorkStatus
impl Copy for WorkStatus
impl Eq for WorkStatus
impl StructuralPartialEq for WorkStatus
Auto Trait Implementations§
impl Freeze for WorkStatus
impl RefUnwindSafe for WorkStatus
impl Send for WorkStatus
impl Sync for WorkStatus
impl Unpin for WorkStatus
impl UnwindSafe for WorkStatus
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