#[non_exhaustive]pub struct MissingUrlEncodedContentType;
Expand description
The Content-Type
header is missing, while we expected it to be set to application/x-www-form-urlencoded
.
Trait Implementations§
source§impl Debug for MissingUrlEncodedContentType
impl Debug for MissingUrlEncodedContentType
source§impl Error for MissingUrlEncodedContentType
impl Error for MissingUrlEncodedContentType
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
source§impl From<MissingUrlEncodedContentType> for ExtractUrlEncodedBodyError
impl From<MissingUrlEncodedContentType> for ExtractUrlEncodedBodyError
source§fn from(source: MissingUrlEncodedContentType) -> Self
fn from(source: MissingUrlEncodedContentType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MissingUrlEncodedContentType
impl RefUnwindSafe for MissingUrlEncodedContentType
impl Send for MissingUrlEncodedContentType
impl Sync for MissingUrlEncodedContentType
impl Unpin for MissingUrlEncodedContentType
impl UnwindSafe for MissingUrlEncodedContentType
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