Struct hydro_deploy::azure::LaunchedVirtualMachine
source · pub struct LaunchedVirtualMachine {
pub internal_ip: String,
pub external_ip: Option<String>,
/* private fields */
}
Fields§
§internal_ip: String
§external_ip: Option<String>
Trait Implementations§
source§impl LaunchedSshHost for LaunchedVirtualMachine
impl LaunchedSshHost for LaunchedVirtualMachine
fn get_external_ip(&self) -> Option<String>
fn get_internal_ip(&self) -> String
fn get_cloud_provider(&self) -> String
fn resource_result(&self) -> &Arc<ResourceResult>
fn ssh_user(&self) -> &str
fn ssh_key_path(&self) -> PathBuf
fn server_config(&self, bind_type: &ServerStrategy) -> ServerBindConfig
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,
Auto Trait Implementations§
impl Freeze for LaunchedVirtualMachine
impl RefUnwindSafe for LaunchedVirtualMachine
impl Send for LaunchedVirtualMachine
impl Sync for LaunchedVirtualMachine
impl Unpin for LaunchedVirtualMachine
impl UnwindSafe for LaunchedVirtualMachine
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> LaunchedHost for Twhere
T: LaunchedSshHost,
impl<T> LaunchedHost for Twhere
T: LaunchedSshHost,
source§fn server_config(&self, bind_type: &ServerStrategy) -> ServerBindConfig
fn server_config(&self, bind_type: &ServerStrategy) -> ServerBindConfig
Given a pre-selected network type, computes concrete information needed for a service
to listen to network connections (such as the IP address to bind to).