[][src]Struct buf_redux::IntoInnerError

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

The error type for BufWriter::into_inner(), contains the BufWriter as well as the error that occurred.

Methods

impl<W> IntoInnerError<W>[src]

pub fn error(&self) -> &Error[src]

Get the error

pub fn into_inner(self) -> W[src]

Take the writer.

Trait Implementations

impl<W> Into<Error> for IntoInnerError<W>[src]

impl<W: Debug> Debug for IntoInnerError<W>[src]

impl<W> Display for IntoInnerError<W>[src]

impl<W: Any + Send + Debug> Error for IntoInnerError<W>[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

Auto Trait Implementations

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

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

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

impl<W> !UnwindSafe for IntoInnerError<W>

impl<W> !RefUnwindSafe for IntoInnerError<W>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]