Skip to main content

CreationsSettled

Struct CreationsSettled 

Source
pub struct CreationsSettled<A, C>
where A: Address, C: ChildCreationProduct<A, ChildHead>,
{ /* private fields */ }
Expand description

One complete creation batch returned to its live creator.

The value retains either every routed child settlement or the entire unchanged batch rejected during route preparation. It is interpreter-facing custody, not an application protocol or another creation operation.

Implementations§

Source§

impl<A, C> CreationsSettled<A, C>
where A: Address, C: ChildCreationProduct<A, ChildHead>,

Source

pub const fn new( settlement: <Births<C> as CreationSettlements<A>>::Settlements, ) -> Self

Source

pub fn into_settlement( self, ) -> <Births<C> as CreationSettlements<A>>::Settlements

Trait Implementations§

Source§

impl<A, C, M> EventIngress<Births<C>, CreationsSettled<A, C>> for CreationEvent<A, C, M>
where A: Address, C: ChildCreationProduct<A, ChildHead>,

Source§

fn ingress(input: CreationsSettled<A, C>) -> Self

Construct the event selected for Source and Input.

Auto Trait Implementations§

§

impl<A, C> Freeze for CreationsSettled<A, C>

§

impl<A, C> RefUnwindSafe for CreationsSettled<A, C>
where C: RefUnwindSafe, <C as ChildCreationProduct<A, ChildHead>>::Result: RefUnwindSafe, <A as Address>::Nonce: RefUnwindSafe,

§

impl<A, C> Send for CreationsSettled<A, C>
where C: Send, <C as ChildCreationProduct<A, ChildHead>>::Result: Send, <A as Address>::Nonce: Send,

§

impl<A, C> Sync for CreationsSettled<A, C>
where C: Sync, <C as ChildCreationProduct<A, ChildHead>>::Result: Sync, <A as Address>::Nonce: Sync,

§

impl<A, C> Unpin for CreationsSettled<A, C>
where C: Unpin, <C as ChildCreationProduct<A, ChildHead>>::Result: Unpin, <A as Address>::Nonce: Unpin,

§

impl<A, C> UnsafeUnpin for CreationsSettled<A, C>

§

impl<A, C> UnwindSafe for CreationsSettled<A, C>
where C: UnwindSafe, <C as ChildCreationProduct<A, ChildHead>>::Result: UnwindSafe, <A as Address>::Nonce: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.