Struct std::io::IntoInnerErrorUnstable [-] [+] [src]

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

An error returned by into_inner which indicates whether a flush error happened or not.

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 flush the internal buffer.

fn into_inner(self) -> W

Returns the underlying BufWriter instance which generated the error.

The returned object can be used to retry a flush or re-inspect the buffer.

Trait Implementations

impl<W> StdError 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>

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