[][src]Struct snowchains::shell::Shell

pub struct Shell<R, W1, W2> {
    pub stdin: TtyOrPiped<R>,
    pub stdout: W1,
    pub stderr: W2,
    pub stderr_tty: bool,
    pub stdin_process_redirection: fn() -> Stdio,
    pub stdout_process_redirection: fn() -> Stdio,
    pub stderr_process_redirection: fn() -> Stdio,
}

Fields

stdin: TtyOrPiped<R>stdout: W1stderr: W2stderr_tty: boolstdin_process_redirection: fn() -> Stdiostdout_process_redirection: fn() -> Stdiostderr_process_redirection: fn() -> Stdio

Implementations

impl<'a> Shell<StdinLock<'a>, BufferedStandardStream, BufferedStandardStream>[src]

pub fn new(stdin: &'a Stdin, color: ColorChoice) -> Self[src]

Trait Implementations

impl<R, W1, W2: WriteColor> Shell for Shell<R, W1, W2>[src]

Auto Trait Implementations

impl<R, W1, W2> RefUnwindSafe for Shell<R, W1, W2> where
    R: RefUnwindSafe,
    W1: RefUnwindSafe,
    W2: RefUnwindSafe

impl<R, W1, W2> Send for Shell<R, W1, W2> where
    R: Send,
    W1: Send,
    W2: Send

impl<R, W1, W2> Sync for Shell<R, W1, W2> where
    R: Sync,
    W1: Sync,
    W2: Sync

impl<R, W1, W2> Unpin for Shell<R, W1, W2> where
    R: Unpin,
    W1: Unpin,
    W2: Unpin

impl<R, W1, W2> UnwindSafe for Shell<R, W1, W2> where
    R: UnwindSafe,
    W1: UnwindSafe,
    W2: UnwindSafe

Blanket Implementations

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

impl<T> Az for T[src]

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

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

impl<T> CheckedAs for T[src]

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

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

impl<T> OverflowingAs for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatingAs for T[src]

impl<T> Sealed<T> for T where
    T: ?Sized

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WrappingAs for T[src]