pub enum WorkerPreparationFailureReason<'a, Role, WorkerRejection, SourceRejection> {
WorkerRejected {
role: &'a Role,
reason: &'a WorkerRejection,
},
SourceRejected(&'a SourceRejection),
InterpreterFault(InterpreterFault),
Unattempted,
}Expand description
Exact borrowed reason for one operating worker-preparation failure.
Variants§
WorkerRejected
The source accepted the request but rejected one selected worker.
Fields
§
reason: &'a WorkerRejectionSource-selected worker rejection.
SourceRejected(&'a SourceRejection)
The source rejected the complete request before preparing a worker.
InterpreterFault(InterpreterFault)
The interpreter returned the request with controlled corruption evidence.
Unattempted
Product interpretation stopped before attempting the request.
Auto Trait Implementations§
impl<'a, Role, WorkerRejection, SourceRejection> Freeze for WorkerPreparationFailureReason<'a, Role, WorkerRejection, SourceRejection>
impl<'a, Role, WorkerRejection, SourceRejection> RefUnwindSafe for WorkerPreparationFailureReason<'a, Role, WorkerRejection, SourceRejection>
impl<'a, Role, WorkerRejection, SourceRejection> Send for WorkerPreparationFailureReason<'a, Role, WorkerRejection, SourceRejection>
impl<'a, Role, WorkerRejection, SourceRejection> Sync for WorkerPreparationFailureReason<'a, Role, WorkerRejection, SourceRejection>
impl<'a, Role, WorkerRejection, SourceRejection> Unpin for WorkerPreparationFailureReason<'a, Role, WorkerRejection, SourceRejection>
impl<'a, Role, WorkerRejection, SourceRejection> UnsafeUnpin for WorkerPreparationFailureReason<'a, Role, WorkerRejection, SourceRejection>
impl<'a, Role, WorkerRejection, SourceRejection> UnwindSafe for WorkerPreparationFailureReason<'a, Role, WorkerRejection, SourceRejection>
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