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.