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
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: E
The inner error.
Trait Implementations
impl<'a> Into<Error> for LazyError<'a, Error>
[src]
Take self.error
, discarding self.field_name
.
impl<'a, E: Error> Error for LazyError<'a, E>
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more