[−][src]Struct subprocess::CommunicateError
Error during communication.
It holds the underlying io::Error
in the error
field, and also
provides the data captured before the error was encountered in the
capture
field.
The error description and cause are taken from the underlying IO error.
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 IO ErrorKind
for this error.
Equivalent to self.error.kind()
.
Trait Implementations
impl Debug for CommunicateError
[src]
impl Display for CommunicateError
[src]
impl Error for CommunicateError
[src]
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
impl From<CommunicateError> for PopenError
[src]
fn from(err: CommunicateError) -> PopenError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for CommunicateError
impl Send for CommunicateError
impl Sync for CommunicateError
impl Unpin for CommunicateError
impl !UnwindSafe for CommunicateError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,