penumbra_ibc::component

Trait 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,

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§