pub struct WorkerRecovery<W>where
W: Behavior,{ /* private fields */ }Expand description
An uncommitted worker returned together with initialization actions that the host rejected before interpreting.
Implementations§
Source§impl<W> WorkerRecovery<W>
impl<W> WorkerRecovery<W>
Sourcepub fn into_retirement(
self,
) -> (W, Actions<BehaviorAddr<W>, <W as Behavior>::Ph, <StopOnShutdown<W> as Behavior>::Sends, <W as Behavior>::Birth>)
pub fn into_retirement( self, ) -> (W, Actions<BehaviorAddr<W>, <W as Behavior>::Ph, <StopOnShutdown<W> as Behavior>::Sends, <W as Behavior>::Birth>)
Transfer both affine values to Bombay’s terminal custodian.
Trait Implementations§
Auto Trait Implementations§
impl<W> Freeze for WorkerRecovery<W>
impl<W> RefUnwindSafe for WorkerRecovery<W>where
W: RefUnwindSafe,
<W as Behavior>::Sends: RefUnwindSafe,
<W as Behavior>::Ph: RefUnwindSafe,
<<W as Behavior>::Birth as BirthMode>::Child: RefUnwindSafe,
impl<W> Send for WorkerRecovery<W>
impl<W> Sync for WorkerRecovery<W>
impl<W> Unpin for WorkerRecovery<W>
impl<W> UnsafeUnpin for WorkerRecovery<W>
impl<W> UnwindSafe for WorkerRecovery<W>where
W: UnwindSafe,
<W as Behavior>::Sends: UnwindSafe,
<W as Behavior>::Ph: UnwindSafe,
<<W as Behavior>::Birth as BirthMode>::Child: 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