Trait penumbra_ibc::component::ClientStateReadExt

source ·
pub trait ClientStateReadExt: StateRead {
    // Provided methods
    fn client_counter<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<ClientCounter>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
    fn get_client_type<'life0, 'life1, 'async_trait>(
        &'life0 self,
        client_id: &'life1 ClientId,
    ) -> Pin<Box<dyn Future<Output = Result<ClientType>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
    fn get_client_state<'life0, 'life1, 'async_trait>(
        &'life0 self,
        client_id: &'life1 ClientId,
    ) -> Pin<Box<dyn Future<Output = Result<TendermintClientState>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
    fn get_client_status<'life0, 'life1, 'async_trait>(
        &'life0 self,
        client_id: &'life1 ClientId,
        current_block_time: Time,
    ) -> Pin<Box<dyn Future<Output = ClientStatus> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
    fn get_verified_heights<'life0, 'life1, 'async_trait>(
        &'life0 self,
        client_id: &'life1 ClientId,
    ) -> Pin<Box<dyn Future<Output = Result<Option<VerifiedHeights>>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
    fn get_penumbra_consensus_state<'life0, 'async_trait>(
        &'life0 self,
        height: Height,
    ) -> Pin<Box<dyn Future<Output = Result<TendermintConsensusState>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
    fn get_verified_consensus_state<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        height: &'life1 Height,
        client_id: &'life2 ClientId,
    ) -> Pin<Box<dyn Future<Output = Result<TendermintConsensusState>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait { ... }
    fn get_client_update_height<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        client_id: &'life1 ClientId,
        height: &'life2 Height,
    ) -> Pin<Box<dyn Future<Output = Result<Height>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait { ... }
    fn get_client_update_time<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        client_id: &'life1 ClientId,
        height: &'life2 Height,
    ) -> Pin<Box<dyn Future<Output = Result<Timestamp>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait { ... }
    fn next_verified_consensus_state<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        client_id: &'life1 ClientId,
        height: &'life2 Height,
    ) -> Pin<Box<dyn Future<Output = Result<Option<TendermintConsensusState>>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait { ... }
    fn prev_verified_consensus_state<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        client_id: &'life1 ClientId,
        height: &'life2 Height,
    ) -> Pin<Box<dyn Future<Output = Result<Option<TendermintConsensusState>>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait { ... }
}
Available on crate feature component only.

Provided Methods§

source

fn client_counter<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<ClientCounter>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

source

fn get_client_type<'life0, 'life1, 'async_trait>( &'life0 self, client_id: &'life1 ClientId, ) -> Pin<Box<dyn Future<Output = Result<ClientType>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn get_client_state<'life0, 'life1, 'async_trait>( &'life0 self, client_id: &'life1 ClientId, ) -> Pin<Box<dyn Future<Output = Result<TendermintClientState>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn get_client_status<'life0, 'life1, 'async_trait>( &'life0 self, client_id: &'life1 ClientId, current_block_time: Time, ) -> Pin<Box<dyn Future<Output = ClientStatus> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn get_verified_heights<'life0, 'life1, 'async_trait>( &'life0 self, client_id: &'life1 ClientId, ) -> Pin<Box<dyn Future<Output = Result<Option<VerifiedHeights>>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn get_penumbra_consensus_state<'life0, 'async_trait>( &'life0 self, height: Height, ) -> Pin<Box<dyn Future<Output = Result<TendermintConsensusState>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

source

fn get_verified_consensus_state<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, height: &'life1 Height, client_id: &'life2 ClientId, ) -> Pin<Box<dyn Future<Output = Result<TendermintConsensusState>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn get_client_update_height<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, client_id: &'life1 ClientId, height: &'life2 Height, ) -> Pin<Box<dyn Future<Output = Result<Height>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn get_client_update_time<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, client_id: &'life1 ClientId, height: &'life2 Height, ) -> Pin<Box<dyn Future<Output = Result<Timestamp>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn next_verified_consensus_state<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, client_id: &'life1 ClientId, height: &'life2 Height, ) -> Pin<Box<dyn Future<Output = Result<Option<TendermintConsensusState>>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn prev_verified_consensus_state<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, client_id: &'life1 ClientId, height: &'life2 Height, ) -> Pin<Box<dyn Future<Output = Result<Option<TendermintConsensusState>>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§