Trait hydro::core::ssh::LaunchedSSHHost
source · 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;
}