[][src]Struct libmussh::RuntimeConfig

pub struct RuntimeConfig { /* fields omitted */ }

The runtime configuration for mussh

Methods

impl HostsCmds[src]

pub fn hosts(&self) -> &IndexSet<String>[src]

The set of hosts to run the commands on

pub fn sync_hosts(&self) -> &IndexSet<String>[src]

The set of hosts to run the sync commands on first

pub fn cmds(&self) -> &IndexSet<String>[src]

The set of commands to run

pub fn sync_cmds(&self) -> &IndexSet<String>[src]

The set of commands to run on sync hosts first, then regular hosts once those have completed.

impl HostsCmds[src]

pub fn set_hosts(&mut self, val: IndexSet<String>) -> &mut Self[src]

The set of hosts to run the commands on

pub fn set_sync_hosts(&mut self, val: IndexSet<String>) -> &mut Self[src]

The set of hosts to run the sync commands on first

pub fn set_cmds(&mut self, val: IndexSet<String>) -> &mut Self[src]

The set of commands to run

pub fn set_sync_cmds(&mut self, val: IndexSet<String>) -> &mut Self[src]

The set of commands to run on sync hosts first, then regular hosts once those have completed.

Trait Implementations

impl Clone for HostsCmds[src]

impl Debug for HostsCmds[src]

impl Default for HostsCmds[src]

impl Eq for HostsCmds[src]

impl<'_, '_> From<&'_ ArgMatches<'_>> for HostsCmds[src]

impl PartialEq<HostsCmds> for HostsCmds[src]

impl StructuralEq for HostsCmds[src]

impl StructuralPartialEq for HostsCmds[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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.