Struct distant_ssh2::IntoDistantSessionOpts [−][src]
pub struct IntoDistantSessionOpts {
pub binary: String,
pub args: String,
pub use_login_shell: bool,
pub timeout: Duration,
}Expand description
Represents options to be provided when converting an ssh session into a distant session
Fields
binary: StringBinary to use for distant server
args: StringArguments to supply to the distant server when starting it
use_login_shell: boolIf true, launches via echo distant listen ... | $SHELL -l, otherwise attempts to launch
by directly invoking distant
timeout: DurationTimeout to use when connecting to the distant server
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for IntoDistantSessionOpts
impl Send for IntoDistantSessionOpts
impl Sync for IntoDistantSessionOpts
impl Unpin for IntoDistantSessionOpts
impl UnwindSafe for IntoDistantSessionOpts
Blanket Implementations
Mutably borrows from an owned value. Read more