Trait chord_core::action::Action

source ·
pub trait Action: Sync + Send {
    fn execute<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        chord: &'life1 dyn Chord,
        arg: &'life2 mut dyn Arg
    ) -> Pin<Box<dyn Future<Output = Result<Asset, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; fn explain<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        _chord: &'life1 dyn Chord,
        arg: &'life2 dyn Arg
    ) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
, { ... } }

Required Methods

Provided Methods

Implementors