[][src]Struct command_builder::Or

pub struct Or<F, S> where
    F: Command,
    S: Command
{ /* fields omitted */ }

Executes one command and if unsuccessful returns the result of the other.

Trait Implementations

impl<F: Clone, S: Clone> Clone for Or<F, S> where
    F: Command,
    S: Command
[src]

impl<F: Command, S: Command> Command for Or<F, S>[src]

impl<F: Command, S: Command> Debug for Or<F, S>[src]

Auto Trait Implementations

impl<F, S> RefUnwindSafe for Or<F, S> where
    F: RefUnwindSafe,
    S: RefUnwindSafe

impl<F, S> Send for Or<F, S> where
    F: Send,
    S: Send

impl<F, S> Sync for Or<F, S> where
    F: Sync,
    S: Sync

impl<F, S> Unpin for Or<F, S> where
    F: Unpin,
    S: Unpin

impl<F, S> UnwindSafe for Or<F, S> where
    F: UnwindSafe,
    S: UnwindSafe

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> 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.