[][src]Struct libmussh::Multiplex

pub struct Multiplex { /* fields omitted */ }

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]

command output logging

impl Multiplex[src]

#[must_use]pub fn multiplex(
    self,
    sync_hosts: &IndexSet<String>,
    hosts_map: MultiplexMapType
) -> Vec<MusshResult<Metrics>>
[src]

Multiplex the requested commands over the requested hosts

Trait Implementations

impl Clone for Multiplex[src]

impl Debug for Multiplex[src]

impl Default for Multiplex[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.