pub struct ExecOptions {
pub password: Option<String>,
pub sudo_password: Option<String>,
pub su_password: Option<String>,
pub timeout: Option<u64>,
pub key: Option<String>,
pub key_passphrase: Option<String>,
pub description: Option<String>,
pub replace_host_key: bool,
pub disable_sudo: bool,
}Expand description
Common remote execution options.
Fields§
§password: Option<String>Override password.
sudo_password: Option<String>Override sudo.
su_password: Option<String>Override su.
timeout: Option<u64>Override timeout.
key: Option<String>Override key path.
key_passphrase: Option<String>Override key passphrase.
description: Option<String>Optional shell description comment.
replace_host_key: boolreplace host key.
disable_sudo: booldisable sudo global.
Trait Implementations§
Source§impl Clone for ExecOptions
impl Clone for ExecOptions
Source§fn clone(&self) -> ExecOptions
fn clone(&self) -> ExecOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExecOptions
impl Debug for ExecOptions
Source§impl Default for ExecOptions
impl Default for ExecOptions
Source§fn default() -> ExecOptions
fn default() -> ExecOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExecOptions
impl RefUnwindSafe for ExecOptions
impl Send for ExecOptions
impl Sync for ExecOptions
impl Unpin for ExecOptions
impl UnsafeUnpin for ExecOptions
impl UnwindSafe for ExecOptions
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