pub struct ReportWorkerStopped<A: Address> {
pub outcome: Result<Exit<A>, Crash>,
pub at: Instant,
}Expand description
A proxy’s request for its interpreter to report a worker termination to
the proxy’s parent. The interpreter supplies the emitting proxy’s child
nonce when constructing WorkerStopped.
Fields§
§outcome: Result<Exit<A>, Crash>§at: InstantTrait Implementations§
Source§impl<A: Clone + Address> Clone for ReportWorkerStopped<A>
impl<A: Clone + Address> Clone for ReportWorkerStopped<A>
Source§fn clone(&self) -> ReportWorkerStopped<A>
fn clone(&self) -> ReportWorkerStopped<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 moreimpl<A: Eq + Address> Eq for ReportWorkerStopped<A>
impl<A: PartialEq + Address> StructuralPartialEq for ReportWorkerStopped<A>
Auto Trait Implementations§
impl<A> Freeze for ReportWorkerStopped<A>where
A: Freeze,
impl<A> RefUnwindSafe for ReportWorkerStopped<A>where
A: RefUnwindSafe,
impl<A> Send for ReportWorkerStopped<A>where
A: Send,
impl<A> Sync for ReportWorkerStopped<A>where
A: Sync,
impl<A> Unpin for ReportWorkerStopped<A>where
A: Unpin,
impl<A> UnsafeUnpin for ReportWorkerStopped<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for ReportWorkerStopped<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