pub struct ChildStopped<A: Address> {
pub child: CreationId,
pub outcome: Result<Exit<A>, Crash>,
pub at: Instant,
}Fields§
§child: CreationId§outcome: Result<Exit<A>, Crash>§at: InstantImplementations§
Trait Implementations§
Source§impl<A: Clone + Address> Clone for ChildStopped<A>
impl<A: Clone + Address> Clone for ChildStopped<A>
Source§fn clone(&self) -> ChildStopped<A>
fn clone(&self) -> ChildStopped<A>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<A: Address> From<(CreationId, Result<Exit<A>, Crash>, Instant)> for ChildStopped<A>
impl<A: Address> From<(CreationId, Result<Exit<A>, Crash>, Instant)> for ChildStopped<A>
Source§impl<E: UserEvent, P> InjectEvent<ChildStopped<<E as UserEvent>::Addr>, Here> for ShutdownCoordinatorEvent<E, P>
impl<E: UserEvent, P> InjectEvent<ChildStopped<<E as UserEvent>::Addr>, Here> for ShutdownCoordinatorEvent<E, P>
fn inject_at(value: ChildStopped<E::Addr>) -> Self
impl<A: Copy + Address> Copy for ChildStopped<A>
impl<A: Eq + Address> Eq for ChildStopped<A>
impl<A: Address> StructuralPartialEq for ChildStopped<A>
Auto Trait Implementations§
impl<A> Freeze for ChildStopped<A>where
A: Freeze,
impl<A> RefUnwindSafe for ChildStopped<A>where
A: RefUnwindSafe,
impl<A> Send for ChildStopped<A>where
A: Send,
impl<A> Sync for ChildStopped<A>where
A: Sync,
impl<A> Unpin for ChildStopped<A>where
A: Unpin,
impl<A> UnsafeUnpin for ChildStopped<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for ChildStopped<A>where
A: 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