pub struct IntoInnerError<W>(pub W, pub Error);
Expand description
The error type for BufWriter::into_inner()
,
contains the BufWriter
as well as the error that occurred.
Tuple Fields§
§0: W
§1: Error
Implementations§
Source§impl<W> IntoInnerError<W>
impl<W> IntoInnerError<W>
Sourcepub fn into_inner(self) -> W
pub fn into_inner(self) -> W
Take the writer.
Trait Implementations§
Source§impl<W: Debug> Debug for IntoInnerError<W>
impl<W: Debug> Debug for IntoInnerError<W>
Source§impl<W> Display for IntoInnerError<W>
impl<W> Display for IntoInnerError<W>
Source§impl<W: Any + Send + Debug> Error for IntoInnerError<W>
impl<W: Any + Send + Debug> Error for IntoInnerError<W>
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Auto Trait Implementations§
impl<W> Freeze for IntoInnerError<W>where
W: Freeze,
impl<W> !RefUnwindSafe for IntoInnerError<W>
impl<W> Send for IntoInnerError<W>where
W: Send,
impl<W> Sync for IntoInnerError<W>where
W: Sync,
impl<W> Unpin for IntoInnerError<W>where
W: Unpin,
impl<W> !UnwindSafe for IntoInnerError<W>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more