pub struct Births<C>(/* private fields */);Expand description
This behavior may emit births of C.
Trait Implementations§
Source§impl<A, C> CreationSettlements<A> for Births<C>
impl<A, C> CreationSettlements<A> for Births<C>
type Settlements = CreationSettlement<Creations<CreateChild<A, C>>, Creations<SettledItem<RoutedCreation<A, C>, ItemSettlement<RoutedCreation<A, C>, <C as ChildCreationProduct<A, ChildHead>>::Result, CreationRejection, Never>>>>
type SourceCustody = (Option<CreationsSettled<A, C>>, Option<Result<(), CreationsSettled<A, C>>>)
type InterpretationCustody = CreationInterpretationCustody<A, C>
fn prepare_interpretation( progress: &mut Option<InterpretationProgress<Creations<CreateChild<A, C>>, Self::InterpretationCustody, Self::Settlements>>, )
fn finish_interpretation( progress: &mut Option<InterpretationProgress<Creations<CreateChild<A, C>>, Self::InterpretationCustody, Self::Settlements>>, )
Source§impl<A, C, M> EventIngress<Births<C>, CreationsSettled<A, C>> for CreationEvent<A, C, M>
impl<A, C, M> EventIngress<Births<C>, CreationsSettled<A, C>> for CreationEvent<A, C, M>
Source§fn ingress(input: CreationsSettled<A, C>) -> Self
fn ingress(input: CreationsSettled<A, C>) -> Self
Construct the event selected for
Source and Input.Source§impl<A, C, Interpreter, RootEvent, Path> InterpretCreations<A, Interpreter, RootEvent, Path> for Births<C>where
A: Address,
A::Nonce: Send,
C: ChildCreationProduct<A, ChildHead> + DispatchBirth<A, Interpreter> + Send,
<C as ChildCreationProduct<A, ChildHead>>::Result: Send,
Interpreter: InterpretItem<Creations<CreateChild<A, C>>, RootEvent, Path> + Send,
impl<A, C, Interpreter, RootEvent, Path> InterpretCreations<A, Interpreter, RootEvent, Path> for Births<C>where
A: Address,
A::Nonce: Send,
C: ChildCreationProduct<A, ChildHead> + DispatchBirth<A, Interpreter> + Send,
<C as ChildCreationProduct<A, ChildHead>>::Result: Send,
Interpreter: InterpretItem<Creations<CreateChild<A, C>>, RootEvent, Path> + Send,
fn interpret_creations( progress: &mut Option<InterpretationProgress<Creations<CreateChild<A, C>>, Self::InterpretationCustody, Self::Settlements>>, interpreter: &mut Interpreter, ) -> impl Future<Output = ()> + Send
impl<C: Copy> Copy for Births<C>
impl<C: Eq> Eq for Births<C>
impl<C> StructuralPartialEq for Births<C>
Auto Trait Implementations§
impl<C> Freeze for Births<C>
impl<C> RefUnwindSafe for Births<C>
impl<C> Send for Births<C>
impl<C> Sync for Births<C>
impl<C> Unpin for Births<C>
impl<C> UnsafeUnpin for Births<C>
impl<C> UnwindSafe for Births<C>
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