pub enum TaskOutcome {
Completed,
Cancelled,
Failed,
}Expand description
Result of joining a Runtime Driver task.
Variants§
Completed
The task completed normally.
Cancelled
The task observed cooperative cancellation.
Failed
The task or its Runtime Driver wrapper terminated abnormally.
Trait Implementations§
Source§impl Clone for TaskOutcome
impl Clone for TaskOutcome
Source§fn clone(&self) -> TaskOutcome
fn clone(&self) -> TaskOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TaskOutcome
Source§impl Debug for TaskOutcome
impl Debug for TaskOutcome
impl Eq for TaskOutcome
Source§impl PartialEq for TaskOutcome
impl PartialEq 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 UnsafeUnpin 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