[−][src]Struct libmussh::Multiplex
Multiplex ssh commands
Methods
impl Multiplex
[src]
pub fn dry_run(&self) -> &bool
[src]
Is this going to be a dry run?
pub fn synchronous(&self) -> &bool
[src]
Run the commands synchronously?
pub fn stdout(&self) -> &Option<Logger>
[src]
stdout logging
pub fn stderr(&self) -> &Option<Logger>
[src]
stderr logging
pub fn host_loggers(&self) -> &HashMap<String, Option<Logger>>
[src]
command output logging
impl Multiplex
[src]
pub fn set_dry_run(&mut self, val: bool) -> &mut Self
[src]
Is this going to be a dry run?
pub fn set_synchronous(&mut self, val: bool) -> &mut Self
[src]
Run the commands synchronously?
pub fn set_stdout(&mut self, val: Option<Logger>) -> &mut Self
[src]
stdout logging
pub fn set_stderr(&mut self, val: Option<Logger>) -> &mut Self
[src]
stderr logging
pub fn set_host_loggers(
&mut self,
val: HashMap<String, Option<Logger>>
) -> &mut Self
[src]
&mut self,
val: HashMap<String, Option<Logger>>
) -> &mut Self
command output logging
impl Multiplex
[src]
#[must_use]pub fn multiplex(
self,
sync_hosts: &IndexSet<String>,
hosts_map: MultiplexMapType
) -> Vec<MusshResult<Metrics>>
[src]
self,
sync_hosts: &IndexSet<String>,
hosts_map: MultiplexMapType
) -> Vec<MusshResult<Metrics>>
Multiplex the requested commands over the requested hosts
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Multiplex
impl Send for Multiplex
impl Sync for Multiplex
impl Unpin for Multiplex
impl UnwindSafe for Multiplex
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,