Struct multipart::client::lazy::LazyError [] [src]

pub struct LazyError<'a, E> {
    pub field_name: Option<Cow<'a, str>>,
    pub error: E,
    // some fields omitted
}

An error for lazily written multipart requests, including the original error as well as the field which caused the error, if applicable.

Fields

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

The inner error.

Trait Implementations

impl<'a> Into<Error> for LazyError<'a, Error>
[src]

Take self.error, discarding self.field_name.

Performs the conversion.

impl<'a, E: Error> Error for LazyError<'a, E>
[src]

A short description of the error. Read more

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

impl<'a, E: Debug> Debug for LazyError<'a, E>
[src]

Formats the value using the given formatter.

impl<'a, E: Display> Display for LazyError<'a, E>
[src]

Formats the value using the given formatter.