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,
SettledItem<RoutedCreation<<<C as Behavior>::Protocol as Protocol>::Addr, C>, ItemSettlement<RoutedCreation<<<C as Behavior>::Protocol as Protocol>::Addr, C>, ChildCreationOutcome<C, Occurrence>, CreationRejection, Never>>: Freeze,
impl<C, Occurrence> RefUnwindSafe for ChildCreationSettled<C, Occurrence>where
<<C as Behavior>::Protocol as Protocol>::Addr: Sized,
SettledItem<RoutedCreation<<<C as Behavior>::Protocol as Protocol>::Addr, C>, ItemSettlement<RoutedCreation<<<C as Behavior>::Protocol as Protocol>::Addr, C>, ChildCreationOutcome<C, Occurrence>, CreationRejection, Never>>: RefUnwindSafe,
impl<C, Occurrence> Send for ChildCreationSettled<C, Occurrence>where
<<C as Behavior>::Protocol as Protocol>::Addr: Sized,
SettledItem<RoutedCreation<<<C as Behavior>::Protocol as Protocol>::Addr, C>, ItemSettlement<RoutedCreation<<<C as Behavior>::Protocol as Protocol>::Addr, C>, ChildCreationOutcome<C, Occurrence>, CreationRejection, Never>>: Send,
impl<C, Occurrence> Sync for ChildCreationSettled<C, Occurrence>where
<<C as Behavior>::Protocol as Protocol>::Addr: Sized,
SettledItem<RoutedCreation<<<C as Behavior>::Protocol as Protocol>::Addr, C>, ItemSettlement<RoutedCreation<<<C as Behavior>::Protocol as Protocol>::Addr, C>, ChildCreationOutcome<C, Occurrence>, CreationRejection, Never>>: Sync,
impl<C, Occurrence> Unpin for ChildCreationSettled<C, Occurrence>where
<<C as Behavior>::Protocol as Protocol>::Addr: Sized,
SettledItem<RoutedCreation<<<C as Behavior>::Protocol as Protocol>::Addr, C>, ItemSettlement<RoutedCreation<<<C as Behavior>::Protocol as Protocol>::Addr, C>, ChildCreationOutcome<C, Occurrence>, CreationRejection, Never>>: Unpin,
impl<C, Occurrence> UnsafeUnpin for ChildCreationSettled<C, Occurrence>where
<<C as Behavior>::Protocol as Protocol>::Addr: Sized,
SettledItem<RoutedCreation<<<C as Behavior>::Protocol as Protocol>::Addr, C>, ItemSettlement<RoutedCreation<<<C as Behavior>::Protocol as Protocol>::Addr, C>, ChildCreationOutcome<C, Occurrence>, CreationRejection, Never>>: UnsafeUnpin,
impl<C, Occurrence> UnwindSafe for ChildCreationSettled<C, Occurrence>where
<<C as Behavior>::Protocol as Protocol>::Addr: Sized,
SettledItem<RoutedCreation<<<C as Behavior>::Protocol as Protocol>::Addr, C>, ItemSettlement<RoutedCreation<<<C as Behavior>::Protocol as Protocol>::Addr, C>, ChildCreationOutcome<C, Occurrence>, CreationRejection, Never>>: 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