pub trait LaunchedSshHost: Send + Sync {
// Required methods
fn get_internal_ip(&self) -> &str;
fn get_external_ip(&self) -> Option<&str>;
fn get_cloud_provider(&self) -> &'static str;
fn resource_result(&self) -> &Arc<ResourceResult>;
fn ssh_user(&self) -> &str;
// Provided methods
fn ssh_key_path(&self) -> PathBuf { ... }
fn open_ssh_session<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<AsyncSession<NoCheckHandler>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
}Required Methods§
fn get_internal_ip(&self) -> &str
fn get_external_ip(&self) -> Option<&str>
fn get_cloud_provider(&self) -> &'static str
fn resource_result(&self) -> &Arc<ResourceResult>
fn ssh_user(&self) -> &str
Provided Methods§
fn ssh_key_path(&self) -> PathBuf
fn open_ssh_session<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<AsyncSession<NoCheckHandler>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".