[][src]Struct tsunami::Machine

pub struct Machine<'tsunami> {
    pub nickname: String,
    pub public_ip: String,
    pub private_ip: Option<String>,
    pub public_dns: String,
    pub ssh: Session,
    // some fields omitted
}

A handle to an instance currently running as part of a tsunami.

Run commands on the machine using the ssh::Session via the ssh field.

Fields

nickname: String

The friendly name for this machine.

Corresponds to the name set in [TsunamiBuilder::add].

public_ip: String

The public IP address of the machine.

private_ip: Option<String>

The private IP address of the machine, if available.

public_dns: String

The public DNS name of the machine.

If the instance doesn't have a DNS name, this field will be equivalent to public_ip.

ssh: Session

An established SSH session to this host.

Trait Implementations

impl<'tsunami> Debug for Machine<'tsunami>[src]

Auto Trait Implementations

impl<'tsunami> RefUnwindSafe for Machine<'tsunami>

impl<'tsunami> Send for Machine<'tsunami>

impl<'tsunami> Sync for Machine<'tsunami>

impl<'tsunami> Unpin for Machine<'tsunami>

impl<'tsunami> UnwindSafe for Machine<'tsunami>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]