pub enum TaskOutcome {
Completed,
Failed(String),
}
Expand description
Outcome of a task’s execution.
Variants§
Completed
Task completed successfully and should not be restarted.
Failed(String)
Task failed and may be restarted, with an optional reason.
Trait Implementations§
Source§impl Clone for TaskOutcome
impl Clone for TaskOutcome
Source§fn clone(&self) -> TaskOutcome
fn clone(&self) -> TaskOutcome
Returns a copy 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 TaskOutcome
impl Debug for TaskOutcome
Source§impl Display for TaskOutcome
impl Display for TaskOutcome
Source§impl PartialEq for TaskOutcome
impl PartialEq for TaskOutcome
impl Eq for TaskOutcome
impl StructuralPartialEq for TaskOutcome
Auto Trait Implementations§
impl Freeze for TaskOutcome
impl RefUnwindSafe for TaskOutcome
impl Send for TaskOutcome
impl Sync for TaskOutcome
impl Unpin for TaskOutcome
impl UnwindSafe for TaskOutcome
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