pub struct WorkerStopped<A>where
A: Address,{
pub proxy: <A as Address>::Nonce,
pub worker: <A as Address>::Nonce,
pub outcome: Result<Exit<A>, Crash>,
pub at: Instant,
}Expand description
A worker termination reported by a still-live supervised proxy.
Fields§
§proxy: <A as Address>::Nonce§worker: <A as Address>::Nonce§outcome: Result<Exit<A>, Crash>§at: InstantImplementations§
Trait Implementations§
Source§impl<A> Clone for WorkerStopped<A>
impl<A> Clone for WorkerStopped<A>
Source§fn clone(&self) -> WorkerStopped<A>
fn clone(&self) -> WorkerStopped<A>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<A> Debug for WorkerStopped<A>
impl<A> Debug for WorkerStopped<A>
impl<A> Eq for WorkerStopped<A>
Source§impl<E> EventInput<WorkerStopped<<E as UserEvent>::Addr>> for SupervisionEvent<E>where
E: UserEvent,
impl<E> EventInput<WorkerStopped<<E as UserEvent>::Addr>> for SupervisionEvent<E>where
E: UserEvent,
fn inject(event: WorkerStopped<<E as UserEvent>::Addr>) -> SupervisionEvent<E>
Source§impl<A> From<(<A as Address>::Nonce, ReportWorkerStopped<A>)> for WorkerStopped<A>where
A: Address,
impl<A> From<(<A as Address>::Nonce, ReportWorkerStopped<A>)> for WorkerStopped<A>where
A: Address,
Source§fn from(_: (<A as Address>::Nonce, ReportWorkerStopped<A>)) -> WorkerStopped<A>
fn from(_: (<A as Address>::Nonce, ReportWorkerStopped<A>)) -> WorkerStopped<A>
Converts to this type from the input type.
Source§impl<A> PartialEq for WorkerStopped<A>
impl<A> PartialEq for WorkerStopped<A>
impl<A> StructuralPartialEq for WorkerStopped<A>
Auto Trait Implementations§
impl<A> Freeze for WorkerStopped<A>
impl<A> RefUnwindSafe for WorkerStopped<A>
impl<A> Send for WorkerStopped<A>
impl<A> Sync for WorkerStopped<A>
impl<A> Unpin for WorkerStopped<A>
impl<A> UnsafeUnpin for WorkerStopped<A>
impl<A> UnwindSafe for WorkerStopped<A>
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