Struct std::io::IntoInnerError [] [src]

pub struct IntoInnerError<W>(_, _);

An error returned by into_inner which combines an error that happened while writing out the buffer, and the buffered writer object which may be used to recover from the condition.

Methods

impl<W> IntoInnerError<W>

fn error(&self) -> &Error

Returns the error which caused the call to into_inner to fail.

This error was returned when attempting to write the internal buffer.

fn into_inner(self) -> W

Returns the buffered writer instance which generated the error.

The returned object can be used for error recovery, such as re-inspecting the buffer.

Trait Implementations

impl<W: Reflect + Send + Debug> Error for IntoInnerError<W>

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl<W> Display for IntoInnerError<W>

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl<W: Debug> Debug for IntoInnerError<W> where W: Debug

fn fmt(&self, __arg_0: &mut Formatter) -> Result