Type Alias LazyIoError

Source
pub type LazyIoError<'a> = LazyError<'a, Error>;
Expand description

A LazyError wrapping std::io::Error.

Aliased Type§

pub struct LazyIoError<'a> {
    pub field_name: Option<Cow<'a, str>>,
    pub error: Error,
    /* private fields */
}

Fields§

§field_name: Option<Cow<'a, str>>

The field that caused the error. If None, there was a problem opening the stream to write or finalizing the stream.

§error: Error

The inner error.