pub struct RetirementCreationSettlement<Settlement> { /* private fields */ }Expand description
Exact creation settlement deliberately retained for actor retirement.
This product distinguishes terminal custody from a settlement that must return as another input to a live creator. It never erases or reconstructs the enclosed accepted, rejected, corrupt, or unattempted values.
Implementations§
Source§impl<Settlement> RetirementCreationSettlement<Settlement>
impl<Settlement> RetirementCreationSettlement<Settlement>
pub const fn new(settlement: Settlement) -> Self
pub fn into_settlement(self) -> Settlement
Trait Implementations§
Source§impl<Settlement> ClassifySettlement for RetirementCreationSettlement<Settlement>where
Settlement: ClassifySettlement,
impl<Settlement> ClassifySettlement for RetirementCreationSettlement<Settlement>where
Settlement: ClassifySettlement,
Source§fn settlement_status(&self) -> SettlementStatus
fn settlement_status(&self) -> SettlementStatus
Inspect every member without consuming or rewriting the settlement.
Source§impl<Settlement: Clone> Clone for RetirementCreationSettlement<Settlement>
impl<Settlement: Clone> Clone for RetirementCreationSettlement<Settlement>
Source§fn clone(&self) -> RetirementCreationSettlement<Settlement>
fn clone(&self) -> RetirementCreationSettlement<Settlement>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Settlement: Debug> Debug for RetirementCreationSettlement<Settlement>
impl<Settlement: Debug> Debug for RetirementCreationSettlement<Settlement>
Source§impl<Settlement: PartialEq> PartialEq for RetirementCreationSettlement<Settlement>
impl<Settlement: PartialEq> PartialEq for RetirementCreationSettlement<Settlement>
Source§fn eq(&self, other: &RetirementCreationSettlement<Settlement>) -> bool
fn eq(&self, other: &RetirementCreationSettlement<Settlement>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<A, C, Host, RootEvent> SourceSettlementCustody<Host, RootEvent> for RetirementCreationSettlement<CreationSettlement<Creations<CreateChild<A, C>>, Creations<SettledItem<RoutedCreation<A, C>, ItemSettlement<RoutedCreation<A, C>, <C as ChildCreationProduct<A, ChildHead>>::Result, CreationRejection, Never>>>>>
impl<A, C, Host, RootEvent> SourceSettlementCustody<Host, RootEvent> for RetirementCreationSettlement<CreationSettlement<Creations<CreateChild<A, C>>, Creations<SettledItem<RoutedCreation<A, C>, ItemSettlement<RoutedCreation<A, C>, <C as ChildCreationProduct<A, ChildHead>>::Result, CreationRejection, Never>>>>>
type Custody = RetirementCreationSettlement<CreationSettlement<Creations<CreateChild<A, C>>, Creations<SettledItem<RoutedCreation<A, C>, ItemSettlement<RoutedCreation<A, C>, <C as ChildCreationProduct<A, ChildHead>>::Result, CreationRejection, Never>>>>>
fn prepare_source(progress: &mut Option<SourceProgress<Self, Self::Custody>>)
fn offer_next_to_source( _: &mut Self::Custody, _: &mut Host, ) -> impl Future<Output = ()> + Send
fn finish_source(progress: &mut Option<SourceProgress<Self, Self::Custody>>)
impl<Settlement: Eq> Eq for RetirementCreationSettlement<Settlement>
impl<Settlement> StructuralPartialEq for RetirementCreationSettlement<Settlement>
Auto Trait Implementations§
impl<Settlement> Freeze for RetirementCreationSettlement<Settlement>where
Settlement: Freeze,
impl<Settlement> RefUnwindSafe for RetirementCreationSettlement<Settlement>where
Settlement: RefUnwindSafe,
impl<Settlement> Send for RetirementCreationSettlement<Settlement>where
Settlement: Send,
impl<Settlement> Sync for RetirementCreationSettlement<Settlement>where
Settlement: Sync,
impl<Settlement> Unpin for RetirementCreationSettlement<Settlement>where
Settlement: Unpin,
impl<Settlement> UnsafeUnpin for RetirementCreationSettlement<Settlement>where
Settlement: UnsafeUnpin,
impl<Settlement> UnwindSafe for RetirementCreationSettlement<Settlement>where
Settlement: 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