Struct hydro::core::gcp::LaunchedComputeEngine
source · pub struct LaunchedComputeEngine {
pub internal_ip: String,
pub external_ip: Option<String>,
/* private fields */
}Fields§
§internal_ip: String§external_ip: Option<String>Implementations§
source§impl LaunchedComputeEngine
impl LaunchedComputeEngine
pub fn ssh_key_path(&self) -> PathBuf
Trait Implementations§
source§impl LaunchedSSHHost for LaunchedComputeEngine
impl LaunchedSSHHost for LaunchedComputeEngine
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,
Auto Trait Implementations§
impl RefUnwindSafe for LaunchedComputeEngine
impl Send for LaunchedComputeEngine
impl Sync for LaunchedComputeEngine
impl Unpin for LaunchedComputeEngine
impl UnwindSafe for LaunchedComputeEngine
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§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).