pub enum TaskExecutionOutcome {
Success,
LogicError,
ResultSendFailed,
Panicked,
}Expand description
An internal enum representing the outcome of a task’s execution.
This is used by VibeNode workers for metrics and logging, distinguishing
between a successful run, a logical failure, or a panic.
Variants§
Success
The task completed successfully and the result was sent.
LogicError
The task returned a TaskError.
ResultSendFailed
The result could not be sent because the receiver was dropped.
Panicked
The task’s function panicked.
Trait Implementations§
Source§impl Clone for TaskExecutionOutcome
impl Clone for TaskExecutionOutcome
Source§fn clone(&self) -> TaskExecutionOutcome
fn clone(&self) -> TaskExecutionOutcome
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 TaskExecutionOutcome
Source§impl Debug for TaskExecutionOutcome
impl Debug for TaskExecutionOutcome
impl Eq for TaskExecutionOutcome
Source§impl PartialEq for TaskExecutionOutcome
impl PartialEq for TaskExecutionOutcome
impl StructuralPartialEq for TaskExecutionOutcome
Auto Trait Implementations§
impl Freeze for TaskExecutionOutcome
impl RefUnwindSafe for TaskExecutionOutcome
impl Send for TaskExecutionOutcome
impl Sync for TaskExecutionOutcome
impl Unpin for TaskExecutionOutcome
impl UnsafeUnpin for TaskExecutionOutcome
impl UnwindSafe for TaskExecutionOutcome
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