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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<N: Copy> Copy for ReportWorkerCreationResolved<N>
Source§impl<N: Debug> Debug for ReportWorkerCreationResolved<N>
impl<N: Debug> Debug for ReportWorkerCreationResolved<N>
impl<N: Eq> Eq 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§impl<A: Address, M> SendInput<ReportWorkerCreationResolved<<A as Address>::Nonce>, Own> for ProxySends<A, M>
impl<A: Address, M> SendInput<ReportWorkerCreationResolved<<A as Address>::Nonce>, Own> for ProxySends<A, M>
fn emit(&mut self, input: ReportWorkerCreationResolved<A::Nonce>)
impl<N: PartialEq> 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