Skip to main content

ActionSettlements

Trait ActionSettlements 

Source
pub trait ActionSettlements: Sized {
    type Settlements;
    type SourceCustody;
    type InterpretationCustody;

    // Required methods
    fn prepare_interpretation(
        progress: &mut Option<InterpretationProgress<Self, Self::InterpretationCustody, Self::Settlements>>,
    );
    fn finish_interpretation(
        progress: &mut Option<InterpretationProgress<Self, Self::InterpretationCustody, Self::Settlements>>,
    );
}
Expand description

Static complete-settlement product selected by one concrete action type.

This projection performs no interpretation and names no runtime. It lets a lifecycle host retain the exact result type of an action without rebuilding its creation or send products.

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§