pub trait BroadcastStateTransition {
    // Required methods
    fn broadcast<'life0, 'life1, 'async_trait>(
        &'life0 self,
        sdk: &'life1 Sdk,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn broadcast_and_wait<'life0, 'life1, 'async_trait>(
        &'life0 self,
        sdk: &'life1 Sdk,
        time_out_ms: Option<u64>,
    ) -> Pin<Box<dyn Future<Output = Result<StateTransitionProofResult, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

fn broadcast<'life0, 'life1, 'async_trait>( &'life0 self, sdk: &'life1 Sdk, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn broadcast_and_wait<'life0, 'life1, 'async_trait>( &'life0 self, sdk: &'life1 Sdk, time_out_ms: Option<u64>, ) -> Pin<Box<dyn Future<Output = Result<StateTransitionProofResult, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementations on Foreign Types§

source§

impl BroadcastStateTransition for StateTransition

source§

fn broadcast<'life0, 'life1, 'async_trait>( &'life0 self, sdk: &'life1 Sdk, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source§

fn broadcast_and_wait<'life0, 'life1, 'async_trait>( &'life0 self, sdk: &'life1 Sdk, _time_out_ms: Option<u64>, ) -> Pin<Box<dyn Future<Output = Result<StateTransitionProofResult, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§