[][src]Struct subprocess::CommunicateError

pub struct CommunicateError {
    pub error: Error,
    pub capture: (Option<Vec<u8>>, Option<Vec<u8>>),
}

Error during communication.

This error encapsulates the underlying io::Error, but also provides the data captured before the error was encountered.

Fields

error: Error

The underlying io::Error.

capture: (Option<Vec<u8>>, Option<Vec<u8>>)

The data captured before the error was encountered.

Methods

impl CommunicateError[src]

pub fn kind(&self) -> ErrorKind[src]

Returns the corresponding ErrorKind for this error.

Trait Implementations

impl Debug for CommunicateError[src]

impl Display for CommunicateError[src]

impl Error for CommunicateError[src]

impl From<CommunicateError> for PopenError[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> ToString for T where
    T: Display + ?Sized
[src]

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.