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]
impl<'a> Into<Error> for LazyError<'a, Error>Take self.error, discarding self.field_name.
impl<'a, E: Error> Error for LazyError<'a, E>[src]
impl<'a, E: Error> Error for LazyError<'a, E>fn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>[src]
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl<'a, E: Debug> Debug for LazyError<'a, E>[src]
impl<'a, E: Debug> Debug for LazyError<'a, E>fn fmt(&self, fmt: &mut Formatter) -> Result[src]
fn fmt(&self, fmt: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a, E: Display> Display for LazyError<'a, E>[src]
impl<'a, E: Display> Display for LazyError<'a, E>