pub struct ClientLaunchSshConfig {
    pub bin: Option<String>,
    pub backend: Option<SshBackend>,
    pub external: bool,
    pub username: Option<String>,
    pub identity_file: Option<PathBuf>,
    pub port: Option<u16>,
}

Fields

bin: Option<String>

Path to ssh program on local machine to execute when using external ssh

backend: Option<SshBackend>

If using native ssh integration, represents the backend

external: bool

If specified, will use the external ssh program to launch the server instead of the native integration; does nothing if the ssh2 feature is not enabled as there is no other option than external ssh

username: Option<String>

Username to use when sshing into remote machine

identity_file: Option<PathBuf>

Explicit identity file to use with ssh

port: Option<u16>

Port to use for sshing into the remote machine

Trait Implementations

Append to Command so it can instantiate Self. Read more

Append to Command so it can update self. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more

Assign values from ArgMatches to self.

Assign values from ArgMatches to self.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Converts reference to Any

Converts mutable reference to Any

Consumes and produces Box<dyn Any>

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Applies the [Compat] adapter by value. Read more

Applies the [Compat] adapter by shared reference. Read more

Applies the [Compat] adapter by mutable reference. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more