Enum lexa_framework::extract::MissingFormError
source · pub enum MissingFormError {
FormRejection(FormRejection),
JsonRejection(JsonRejection),
}
Variants§
FormRejection(FormRejection)
JsonRejection(JsonRejection)
Trait Implementations§
source§impl Debug for MissingFormError
impl Debug for MissingFormError
source§impl Display for MissingFormError
impl Display for MissingFormError
source§impl Error for MissingFormError
impl Error for MissingFormError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + '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()
source§impl From<FormRejection> for MissingFormError
impl From<FormRejection> for MissingFormError
source§fn from(source: FormRejection) -> Self
fn from(source: FormRejection) -> Self
Converts to this type from the input type.
source§impl From<JsonRejection> for MissingFormError
impl From<JsonRejection> for MissingFormError
source§fn from(source: JsonRejection) -> Self
fn from(source: JsonRejection) -> Self
Converts to this type from the input type.
source§impl IntoResponse for MissingFormError
impl IntoResponse for MissingFormError
source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl !RefUnwindSafe for MissingFormError
impl Send for MissingFormError
impl Sync for MissingFormError
impl Unpin for MissingFormError
impl !UnwindSafe for MissingFormError
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