pub struct ReportWorkerCreationResolved<N> {
pub worker: N,
pub kind: CreationKind<N>,
pub result: Result<(), CreationRejection>,
}Expand description
Ask a proxy’s interpreter to report a worker creation result to its parent. The interpreter supplies the emitting proxy’s nonce.
Fields§
§worker: N§kind: CreationKind<N>§result: Result<(), CreationRejection>Implementations§
Source§impl<N> ReportWorkerCreationResolved<N>
impl<N> ReportWorkerCreationResolved<N>
pub const fn new( worker: N, kind: CreationKind<N>, result: Result<(), CreationRejection>, ) -> Self
Trait Implementations§
Source§impl<N: Clone> Clone for ReportWorkerCreationResolved<N>
impl<N: Clone> Clone for ReportWorkerCreationResolved<N>
Source§fn clone(&self) -> ReportWorkerCreationResolved<N>
fn clone(&self) -> ReportWorkerCreationResolved<N>
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<N: Debug> Debug for ReportWorkerCreationResolved<N>
impl<N: Debug> Debug for ReportWorkerCreationResolved<N>
Source§impl<N> From<CreationResolved<N>> for ReportWorkerCreationResolved<N>
impl<N> From<CreationResolved<N>> for ReportWorkerCreationResolved<N>
Source§fn from(resolved: CreationResolved<N>) -> Self
fn from(resolved: CreationResolved<N>) -> Self
Converts to this type from the input type.
Source§impl<N: PartialEq> PartialEq for ReportWorkerCreationResolved<N>
impl<N: PartialEq> PartialEq for ReportWorkerCreationResolved<N>
Source§fn eq(&self, other: &ReportWorkerCreationResolved<N>) -> bool
fn eq(&self, other: &ReportWorkerCreationResolved<N>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<C: Behavior> SendInput<ReportWorkerCreationResolved<<<C as Behavior>::Addr as Address>::Nonce>, Own> for ProxySends<C>
impl<C: Behavior> SendInput<ReportWorkerCreationResolved<<<C as Behavior>::Addr as Address>::Nonce>, Own> for ProxySends<C>
impl<N: Copy> Copy for ReportWorkerCreationResolved<N>
impl<N: Eq> Eq for ReportWorkerCreationResolved<N>
impl<N> StructuralPartialEq for ReportWorkerCreationResolved<N>
Auto Trait Implementations§
impl<N> Freeze for ReportWorkerCreationResolved<N>where
N: Freeze,
impl<N> RefUnwindSafe for ReportWorkerCreationResolved<N>where
N: RefUnwindSafe,
impl<N> Send for ReportWorkerCreationResolved<N>where
N: Send,
impl<N> Sync for ReportWorkerCreationResolved<N>where
N: Sync,
impl<N> Unpin for ReportWorkerCreationResolved<N>where
N: Unpin,
impl<N> UnsafeUnpin for ReportWorkerCreationResolved<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for ReportWorkerCreationResolved<N>where
N: 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