Struct distant_ssh2::IntoDistantSessionOpts
source · [−]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
sourceimpl Clone for IntoDistantSessionOpts
impl Clone for IntoDistantSessionOpts
sourcefn clone(&self) -> IntoDistantSessionOpts
fn clone(&self) -> IntoDistantSessionOpts
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for IntoDistantSessionOpts
impl Debug for IntoDistantSessionOpts
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
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more