Trait ConsensusStateWriteExt

Source
pub trait ConsensusStateWriteExt: StateWrite + Sized {
    // Provided method
    fn put_verified_consensus_state<'life0, 'async_trait, HI>(
        &'life0 mut self,
        height: Height,
        client_id: ClientId,
        consensus_state: TendermintConsensusState,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where HI: 'async_trait + HostInterface,
             Self: Send + 'async_trait,
             'life0: 'async_trait { ... }
}
Available on crate feature component only.

Provided Methods§

Source

fn put_verified_consensus_state<'life0, 'async_trait, HI>( &'life0 mut self, height: Height, client_id: ClientId, consensus_state: TendermintConsensusState, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where HI: 'async_trait + HostInterface, Self: Send + 'async_trait, 'life0: 'async_trait,

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§