Enum openssh_mux_client::TryWaitSessionStatus[][src]

pub enum TryWaitSessionStatus {
    TtyAllocFail(EstablishedSession),
    Exited {
        exit_value: Option<u32>,
    },
    InProgress(EstablishedSession),
}

Variants

TtyAllocFail(EstablishedSession)

Tuple Fields

Remote ssh server failed to allocate a tty, you can now return the tty to cooked mode.

This arm includes EstablishedSession so that you can call wait on it again and retrieve the exit status and the underlying connection.

Exited

Fields

exit_value: Option<u32>

The process on the remote machine has exited with exit_value.

InProgress(EstablishedSession)

Tuple Fields

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.