Struct FailedToDeserializeFormBody

pub struct FailedToDeserializeFormBody(/* private field */);

Rejection type used if the Form extractor is unable to deserialize the form body into the target type.

Implementations

impl FailedToDeserializeFormBody

fn body_text(&self) -> String

Get the response body text used for this rejection.

fn status(&self) -> StatusCode

Get the status code used for this rejection.

Trait Implementations

impl Debug for FailedToDeserializeFormBody

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Display for FailedToDeserializeFormBody

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Error for FailedToDeserializeFormBody

fn source(&self) -> Option<&dyn Error + 'static>

impl IntoResponse for FailedToDeserializeFormBody

fn into_response(self) -> Response

Auto Trait Implementations

impl !RefUnwindSafe for FailedToDeserializeFormBody

impl !UnwindSafe for FailedToDeserializeFormBody

impl Freeze for FailedToDeserializeFormBody

impl Send for FailedToDeserializeFormBody

impl Sync for FailedToDeserializeFormBody

impl Unpin for FailedToDeserializeFormBody

impl UnsafeUnpin for FailedToDeserializeFormBody

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for FailedToDeserializeFormBody where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for FailedToDeserializeFormBody where ST: ?Sized, DT: ?Sized,

impl<T> Any for FailedToDeserializeFormBody where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for FailedToDeserializeFormBody where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for FailedToDeserializeFormBody where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for FailedToDeserializeFormBody

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for FailedToDeserializeFormBody

impl<T> Read<Exclusive, BecauseExclusive> for FailedToDeserializeFormBody where T: ?Sized,

impl<T> Same for FailedToDeserializeFormBody

type Output = T;

impl<T> ToString for FailedToDeserializeFormBody where T: Display + ?Sized,

fn to_string(&self) -> String

impl<T> WithSubscriber for FailedToDeserializeFormBody

impl<T, U> Into<U> for FailedToDeserializeFormBody where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for FailedToDeserializeFormBody where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for FailedToDeserializeFormBody where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

impl<V, T> VZip<V> for FailedToDeserializeFormBody where V: MultiLane<T>,

fn vzip(self) -> V