pub trait ConnectStreamAction: BuildTunnelAction {
    // Required methods
    fn clone_as_connect_stream_action(&self) -> DynConnectStreamAction;
    fn as_any(&self) -> &dyn Any;
    fn state(&self) -> ConnectStreamState;
    fn wait_pre_establish<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = ConnectStreamState> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn continue_connect<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = BuckyResult<StreamProviderSelector>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn clone_as_connect_stream_action(&self) -> DynConnectStreamAction

source

fn as_any(&self) -> &dyn Any

source

fn state(&self) -> ConnectStreamState

source

fn wait_pre_establish<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = ConnectStreamState> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn continue_connect<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = BuckyResult<StreamProviderSelector>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§