Trait penumbra_ibc::component::ConnectionStateReadExt

source ·
pub trait ConnectionStateReadExt: StateRead {
    // Provided methods
    fn get_connection_counter<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<ConnectionCounter>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
    fn get_connection<'life0, 'life1, 'async_trait>(
        &'life0 self,
        connection_id: &'life1 ConnectionId,
    ) -> Pin<Box<dyn Future<Output = Result<Option<ConnectionEnd>>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
    fn get_client_connections<'life0, 'life1, 'async_trait>(
        &'life0 self,
        client_id: &'life1 ClientId,
    ) -> Pin<Box<dyn Future<Output = Result<ClientPaths>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
}
Available on crate feature component only.

Provided Methods§

source

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

source

fn get_connection<'life0, 'life1, 'async_trait>( &'life0 self, connection_id: &'life1 ConnectionId, ) -> Pin<Box<dyn Future<Output = Result<Option<ConnectionEnd>>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

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

Object Safety§

This trait is not object safe.

Implementors§