pub struct InitialWorkerRejection<Factory, Role, Worker, Plan, Rejection> {
pub factory: Factory,
pub prepared: Vec<PreparedWorker<Role, Worker, Plan>>,
pub role: Role,
pub reason: Rejection,
pub remaining: Vec<Role>,
}Expand description
Complete custody when an initial worker is unavailable.
Fields§
§factory: FactoryOriginal construction-only worker function.
prepared: Vec<PreparedWorker<Role, Worker, Plan>>Roles and worker submissions prepared before rejection.
role: RoleExact role whose worker was unavailable.
reason: RejectionTyped reason returned by the worker function.
remaining: Vec<Role>Untouched declaration-order suffix.
Auto Trait Implementations§
impl<Factory, Role, Worker, Plan, Rejection> Freeze for InitialWorkerRejection<Factory, Role, Worker, Plan, Rejection>
impl<Factory, Role, Worker, Plan, Rejection> RefUnwindSafe for InitialWorkerRejection<Factory, Role, Worker, Plan, Rejection>where
Factory: RefUnwindSafe,
Role: RefUnwindSafe,
Rejection: RefUnwindSafe,
Worker: RefUnwindSafe,
Plan: RefUnwindSafe,
impl<Factory, Role, Worker, Plan, Rejection> Send for InitialWorkerRejection<Factory, Role, Worker, Plan, Rejection>
impl<Factory, Role, Worker, Plan, Rejection> Sync for InitialWorkerRejection<Factory, Role, Worker, Plan, Rejection>
impl<Factory, Role, Worker, Plan, Rejection> Unpin for InitialWorkerRejection<Factory, Role, Worker, Plan, Rejection>
impl<Factory, Role, Worker, Plan, Rejection> UnsafeUnpin for InitialWorkerRejection<Factory, Role, Worker, Plan, Rejection>
impl<Factory, Role, Worker, Plan, Rejection> UnwindSafe for InitialWorkerRejection<Factory, Role, Worker, Plan, Rejection>where
Factory: UnwindSafe,
Role: UnwindSafe,
Rejection: UnwindSafe,
Worker: UnwindSafe,
Plan: UnwindSafe,
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