Struct bufstream::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>
[src]
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: Debug> Debug for IntoInnerError<W>
[src]
impl<W: Debug> Error for IntoInnerError<W>
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more