pub enum SubtaskResult {
Ok(Option<String>),
Err(String),
Cancelled,
}Expand description
Result of a completed subtask.
Variants§
Ok(Option<String>)
Task completed successfully with an optional string result.
Err(String)
Task failed with an error message.
Cancelled
Task was cancelled.
Trait Implementations§
Source§impl Clone for SubtaskResult
impl Clone for SubtaskResult
Source§fn clone(&self) -> SubtaskResult
fn clone(&self) -> SubtaskResult
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 moreAuto Trait Implementations§
impl Freeze for SubtaskResult
impl RefUnwindSafe for SubtaskResult
impl Send for SubtaskResult
impl Sync for SubtaskResult
impl Unpin for SubtaskResult
impl UnsafeUnpin for SubtaskResult
impl UnwindSafe for SubtaskResult
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