pub struct LaunchedComputeEngine {
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 LaunchedComputeEngine
impl LaunchedSshHost for LaunchedComputeEngine
fn get_external_ip(&self) -> Option<&str>
fn get_internal_ip(&self) -> &str
fn get_cloud_provider(&self) -> &'static str
fn resource_result(&self) -> &Arc<ResourceResult>
fn ssh_user(&self) -> &str
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,
Auto Trait Implementations§
impl Freeze for LaunchedComputeEngine
impl RefUnwindSafe for LaunchedComputeEngine
impl Send for LaunchedComputeEngine
impl Sync for LaunchedComputeEngine
impl Unpin for LaunchedComputeEngine
impl UnsafeUnpin 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
§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> LaunchedHost for Twhere
T: LaunchedSshHost,
impl<T> LaunchedHost for Twhere
T: LaunchedSshHost,
Source§fn base_server_config(&self, bind_type: &BaseServerStrategy) -> ServerBindConfig
fn base_server_config(&self, bind_type: &BaseServerStrategy) -> 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).
fn copy_binary<'life0, 'life1, 'async_trait>(
&'life0 self,
binary: &'life1 BuildOutput,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
T: 'async_trait,
fn launch_binary<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
id: String,
binary: &'life1 BuildOutput,
args: &'life2 [String],
tracing: Option<TracingOptions>,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn LaunchedBinary>, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
T: 'async_trait,
fn forward_port<'life0, 'life1, 'async_trait>(
&'life0 self,
addr: &'life1 SocketAddr,
) -> Pin<Box<dyn Future<Output = Result<SocketAddr, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
T: 'async_trait,
fn server_config(&self, strategy: &ServerStrategy) -> ServerBindConfig
§impl<T> ToSinkBuild for T
impl<T> ToSinkBuild for T
§fn iter_to_sink_build(self) -> SendIterBuild<Self>
fn iter_to_sink_build(self) -> SendIterBuild<Self>
§fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
Starts a [
SinkBuild] adaptor chain to send all items from self as a [Stream].