Struct multipart::client::lazy::LazyError [−][src]
pub struct LazyError<'a, E> { pub field_name: Option<Cow<'a, str>>, pub error: E, // some fields omitted }
Expand description
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, E: Error> Error for LazyError<'a, E>
[src]
impl<'a, E: Error> Error for LazyError<'a, E>
[src]fn description(&self) -> &str
[src]
fn description(&self) -> &str
[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn cause(&self) -> Option<&dyn Error>
[src]
fn cause(&self) -> Option<&dyn Error>
[src]👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
Auto Trait Implementations
impl<'a, E> RefUnwindSafe for LazyError<'a, E> where
E: RefUnwindSafe,
E: RefUnwindSafe,
impl<'a, E> Send for LazyError<'a, E> where
E: Send,
E: Send,
impl<'a, E> Sync for LazyError<'a, E> where
E: Sync,
E: Sync,
impl<'a, E> Unpin for LazyError<'a, E> where
E: Unpin,
E: Unpin,
impl<'a, E> UnwindSafe for LazyError<'a, E> where
E: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<T> UnsafeAny for T where
T: Any,
T: Any,