pub trait LaunchedSSHHost: Send + Sync {
    // Required methods
    fn server_config(&self, bind_type: &ServerStrategy) -> ServerBindConfig;
    fn resource_result(&self) -> &Arc<ResourceResult>;
    fn ssh_user(&self) -> &str;
    fn open_ssh_session<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<AsyncSession<TcpStream>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn server_config(&self, bind_type: &ServerStrategy) -> ServerBindConfig

source

fn resource_result(&self) -> &Arc<ResourceResult>

source

fn ssh_user(&self) -> &str

source

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

Implementors§