Struct distant::config::ClientLaunchSshConfig
source · [−]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
sourceimpl Args for ClientLaunchSshConfig
impl Args for ClientLaunchSshConfig
sourceimpl Debug for ClientLaunchSshConfig
impl Debug for ClientLaunchSshConfig
sourceimpl Default for ClientLaunchSshConfig
impl Default for ClientLaunchSshConfig
sourcefn default() -> ClientLaunchSshConfig
fn default() -> ClientLaunchSshConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ClientLaunchSshConfig
impl<'de> Deserialize<'de> for ClientLaunchSshConfig
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl FromArgMatches for ClientLaunchSshConfig
impl FromArgMatches for ClientLaunchSshConfig
sourcefn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Instantiate Self
from ArgMatches
, parsing the arguments as needed. Read more
sourcefn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
Instantiate Self
from ArgMatches
, parsing the arguments as needed. Read more
sourcefn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
Assign values from ArgMatches
to self
.
sourcefn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
Assign values from ArgMatches
to self
.
sourceimpl Serialize for ClientLaunchSshConfig
impl Serialize for ClientLaunchSshConfig
Auto Trait Implementations
impl RefUnwindSafe for ClientLaunchSshConfig
impl Send for ClientLaunchSshConfig
impl Sync for ClientLaunchSshConfig
impl Unpin for ClientLaunchSshConfig
impl UnwindSafe for ClientLaunchSshConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> CompatExt for T
impl<T> CompatExt for T
fn compat_ref(&self) -> Compat<&T>
fn compat_ref(&self) -> Compat<&T>
Applies the [Compat
] adapter by shared reference. Read more
fn compat_mut(&mut self) -> Compat<&mut T>
fn compat_mut(&mut self) -> Compat<&mut T>
Applies the [Compat
] adapter by mutable reference. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more