pub struct ChildCreationSettled<C, Occurrence>{ /* private fields */ }Expand description
One complete child-creation settlement returned to its creator.
This product moves the existing settlement without reclassifying it. In particular, initialization and host rejection retain the current child and exact initialization value. A runtime that cannot admit this value to the live creator must recover it from the returned event and keep it in host custody.
Implementations§
Source§impl<C, Occurrence> ChildCreationSettled<C, Occurrence>
impl<C, Occurrence> ChildCreationSettled<C, Occurrence>
pub const fn new( settlement: SettledItem<RoutedCreation<BehaviorAddr<C>, C>, ItemSettlement<RoutedCreation<BehaviorAddr<C>, C>, ChildCreationOutcome<C, Occurrence>, CreationRejection, Never>>, ) -> Self
Sourcepub fn into_settlement(
self,
) -> SettledItem<RoutedCreation<BehaviorAddr<C>, C>, ItemSettlement<RoutedCreation<BehaviorAddr<C>, C>, ChildCreationOutcome<C, Occurrence>, CreationRejection, Never>>
pub fn into_settlement( self, ) -> SettledItem<RoutedCreation<BehaviorAddr<C>, C>, ItemSettlement<RoutedCreation<BehaviorAddr<C>, C>, ChildCreationOutcome<C, Occurrence>, CreationRejection, Never>>
Recover the exact generic settlement without cloning any owned value.
Trait Implementations§
Source§impl<C, Occurrence> Debug for ChildCreationSettled<C, Occurrence>
impl<C, Occurrence> Debug for ChildCreationSettled<C, Occurrence>
Auto Trait Implementations§
impl<C, Occurrence> Freeze for ChildCreationSettled<C, Occurrence>where
<<C as Behavior>::Protocol as Protocol>::Addr: Sized,
<<<C as Behavior>::Protocol as Protocol>::Addr as Address>::Nonce: Freeze,
<C as Behavior>::Error: Freeze,
C: Freeze,
<C as Behavior>::Sends: Freeze,
<<<C as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<C>: Freeze,
<C as Behavior>::Ph: Freeze,
impl<C, Occurrence> RefUnwindSafe for ChildCreationSettled<C, Occurrence>where
<<C as Behavior>::Protocol as Protocol>::Addr: Sized,
<<<C as Behavior>::Protocol as Protocol>::Addr as Address>::Nonce: RefUnwindSafe,
<C as Behavior>::Error: RefUnwindSafe,
C: RefUnwindSafe,
<C as Behavior>::Sends: RefUnwindSafe,
<<<C as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<C>: RefUnwindSafe,
<C as Behavior>::Ph: RefUnwindSafe,
<<C as Behavior>::Birth as BirthMode>::Child: RefUnwindSafe,
impl<C, Occurrence> Send for ChildCreationSettled<C, Occurrence>where
<<C as Behavior>::Protocol as Protocol>::Addr: Sized,
<<<C as Behavior>::Protocol as Protocol>::Addr as Address>::Nonce: Send,
<C as Behavior>::Error: Send,
C: Send,
<C as Behavior>::Sends: Send,
<<<C as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<C>: Send,
<C as Behavior>::Ph: Send,
<<C as Behavior>::Birth as BirthMode>::Child: Send,
impl<C, Occurrence> Sync for ChildCreationSettled<C, Occurrence>where
<<C as Behavior>::Protocol as Protocol>::Addr: Sized,
<<<C as Behavior>::Protocol as Protocol>::Addr as Address>::Nonce: Sync,
<C as Behavior>::Error: Sync,
C: Sync,
<C as Behavior>::Sends: Sync,
<<<C as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<C>: Sync,
<C as Behavior>::Ph: Sync,
<<C as Behavior>::Birth as BirthMode>::Child: Sync,
impl<C, Occurrence> Unpin for ChildCreationSettled<C, Occurrence>where
<<C as Behavior>::Protocol as Protocol>::Addr: Sized,
<<<C as Behavior>::Protocol as Protocol>::Addr as Address>::Nonce: Unpin,
<C as Behavior>::Error: Unpin,
C: Unpin,
<C as Behavior>::Sends: Unpin,
<<<C as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<C>: Unpin,
<C as Behavior>::Ph: Unpin,
<<C as Behavior>::Birth as BirthMode>::Child: Unpin,
impl<C, Occurrence> UnsafeUnpin for ChildCreationSettled<C, Occurrence>where
<<C as Behavior>::Protocol as Protocol>::Addr: Sized,
<<<C as Behavior>::Protocol as Protocol>::Addr as Address>::Nonce: UnsafeUnpin,
<C as Behavior>::Error: UnsafeUnpin,
C: UnsafeUnpin,
<C as Behavior>::Sends: UnsafeUnpin,
<<<C as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<C>: UnsafeUnpin,
<C as Behavior>::Ph: UnsafeUnpin,
impl<C, Occurrence> UnwindSafe for ChildCreationSettled<C, Occurrence>where
<<C as Behavior>::Protocol as Protocol>::Addr: Sized,
<<<C as Behavior>::Protocol as Protocol>::Addr as Address>::Nonce: UnwindSafe,
<C as Behavior>::Error: UnwindSafe,
C: UnwindSafe,
<C as Behavior>::Sends: UnwindSafe,
<<<C as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<C>: UnwindSafe,
<C as Behavior>::Ph: UnwindSafe,
<<C as Behavior>::Birth as BirthMode>::Child: 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