pub enum Dispatch {
Completed(Box<Response>),
TimedOut,
Cancelled,
Failed(String),
}Expand description
Process outcome of one dispatched native job, separate from every model verdict.
Variants§
Completed(Box<Response>)
Complete evidence the backend validated against the exact request.
TimedOut
The backend killed and reaped the worker at its deadline.
Cancelled
The backend killed and reaped the worker after explicit cancellation.
Failed(String)
Startup, protocol, validation or process failure, with no logical verdict.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Dispatch
impl Freeze for Dispatch
impl Move for Dispatch
impl RefUnwindSafe for Dispatch
impl Send for Dispatch
impl Sync for Dispatch
impl Unpin for Dispatch
impl UnsafeUnpin for Dispatch
impl UnwindSafe for Dispatch
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