Struct warp::filters::body::BodyDeserializeError
source · pub struct BodyDeserializeError {
cause: Box<dyn StdError + Send + Sync>,
}
Expand description
An error used in rejections when deserializing a request body fails.
Fields§
§cause: Box<dyn StdError + Send + Sync>
Trait Implementations§
source§impl Debug for BodyDeserializeError
impl Debug for BodyDeserializeError
source§impl Display for BodyDeserializeError
impl Display for BodyDeserializeError
source§impl Error for BodyDeserializeError
impl Error for BodyDeserializeError
source§fn source(&self) -> Option<&(dyn StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for BodyDeserializeError
impl !RefUnwindSafe for BodyDeserializeError
impl Send for BodyDeserializeError
impl Sync for BodyDeserializeError
impl Unpin for BodyDeserializeError
impl !UnwindSafe for BodyDeserializeError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more