pub struct ObserveChild<N> {
pub nonce: N,
}Expand description
Ask the local interpreter to observe the exact child generation bound at
nonce.
Creation is resolved before same-action service sends. If that creation was
rejected, no child exists to observe: the interpreter consumes this request
without installing an observation or emitting ChildStopped. The
rejection remains observable through ObserveCreation, and a later
creation cannot inherit the consumed observation.
Fields§
§nonce: NImplementations§
Source§impl<N> ObserveChild<N>
impl<N> ObserveChild<N>
Trait Implementations§
Source§impl<N: Clone> Clone for ObserveChild<N>
impl<N: Clone> Clone for ObserveChild<N>
Source§fn clone(&self) -> ObserveChild<N>
fn clone(&self) -> ObserveChild<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 ObserveChild<N>
Source§impl<N: Debug> Debug for ObserveChild<N>
impl<N: Debug> Debug for ObserveChild<N>
impl<N: Eq> Eq for ObserveChild<N>
Source§impl<N: PartialEq> PartialEq for ObserveChild<N>
impl<N: PartialEq> PartialEq for ObserveChild<N>
Source§impl<A: Address, M> SendInput<ObserveChild<<A as Address>::Nonce>, Own> for ProxySends<A, M>
impl<A: Address, M> SendInput<ObserveChild<<A as Address>::Nonce>, Own> for ProxySends<A, M>
fn emit(&mut self, input: ObserveChild<A::Nonce>)
Source§impl<A, Sends, C> SendInput<ObserveChild<<A as Address>::Nonce>, Own> for SupervisorSends<A, Sends, C>
impl<A, Sends, C> SendInput<ObserveChild<<A as Address>::Nonce>, Own> for SupervisorSends<A, Sends, C>
fn emit(&mut self, input: ObserveChild<A::Nonce>)
impl<N: PartialEq> StructuralPartialEq for ObserveChild<N>
Auto Trait Implementations§
impl<N> Freeze for ObserveChild<N>where
N: Freeze,
impl<N> RefUnwindSafe for ObserveChild<N>where
N: RefUnwindSafe,
impl<N> Send for ObserveChild<N>where
N: Send,
impl<N> Sync for ObserveChild<N>where
N: Sync,
impl<N> Unpin for ObserveChild<N>where
N: Unpin,
impl<N> UnsafeUnpin for ObserveChild<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for ObserveChild<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