pub struct WorkerPreparation<Source, Role, Worker, Plan>{ /* private fields */ }Expand description
Complete result of source work after one accepted preparation start.
Auto Trait Implementations§
impl<Source, Role, Worker, Plan> Freeze for WorkerPreparation<Source, Role, Worker, Plan>where
Source: Freeze,
<Source as WorkerSource<Role, Worker, Plan>>::WorkerRejection: Freeze,
<Source as WorkerSource<Role, Worker, Plan>>::SourceRejection: Freeze,
impl<Source, Role, Worker, Plan> RefUnwindSafe for WorkerPreparation<Source, Role, Worker, Plan>where
Source: RefUnwindSafe,
<Source as WorkerSource<Role, Worker, Plan>>::WorkerRejection: RefUnwindSafe,
<Source as WorkerSource<Role, Worker, Plan>>::SourceRejection: RefUnwindSafe,
Role: RefUnwindSafe,
Worker: RefUnwindSafe,
Plan: RefUnwindSafe,
impl<Source, Role, Worker, Plan> Send for WorkerPreparation<Source, Role, Worker, Plan>
impl<Source, Role, Worker, Plan> Sync for WorkerPreparation<Source, Role, Worker, Plan>where
Source: Sync,
<Source as WorkerSource<Role, Worker, Plan>>::WorkerRejection: Sync,
<Source as WorkerSource<Role, Worker, Plan>>::SourceRejection: Sync,
Role: Sync + Send,
Worker: Sync,
Plan: Sync,
impl<Source, Role, Worker, Plan> Unpin for WorkerPreparation<Source, Role, Worker, Plan>where
Source: Unpin,
<Source as WorkerSource<Role, Worker, Plan>>::WorkerRejection: Unpin,
<Source as WorkerSource<Role, Worker, Plan>>::SourceRejection: Unpin,
Worker: Unpin,
Plan: Unpin,
impl<Source, Role, Worker, Plan> UnsafeUnpin for WorkerPreparation<Source, Role, Worker, Plan>where
Source: UnsafeUnpin,
<Source as WorkerSource<Role, Worker, Plan>>::WorkerRejection: UnsafeUnpin,
<Source as WorkerSource<Role, Worker, Plan>>::SourceRejection: UnsafeUnpin,
impl<Source, Role, Worker, Plan> UnwindSafe for WorkerPreparation<Source, Role, Worker, Plan>where
Source: UnwindSafe,
<Source as WorkerSource<Role, Worker, Plan>>::WorkerRejection: UnwindSafe,
<Source as WorkerSource<Role, Worker, Plan>>::SourceRejection: UnwindSafe,
Role: RefUnwindSafe,
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