pub struct DistantLaunchOpts {
pub binary: String,
pub args: String,
pub timeout: Duration,
}Expand description
Represents options to be provided when converting an ssh client into a distant client
Fields§
§binary: StringBinary to use for distant server
args: StringArguments to supply to the distant server when starting it
timeout: DurationTimeout to use when connecting to the distant server
Trait Implementations§
Source§impl Clone for DistantLaunchOpts
impl Clone for DistantLaunchOpts
Source§fn clone(&self) -> DistantLaunchOpts
fn clone(&self) -> DistantLaunchOpts
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DistantLaunchOpts
impl Debug for DistantLaunchOpts
Auto Trait Implementations§
impl Freeze for DistantLaunchOpts
impl RefUnwindSafe for DistantLaunchOpts
impl Send for DistantLaunchOpts
impl Sync for DistantLaunchOpts
impl Unpin for DistantLaunchOpts
impl UnwindSafe for DistantLaunchOpts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more