#[non_exhaustive]pub struct InvalidBoundary;
Expand description
Rejection type used if the boundary
in a multipart/form-data
is
missing or invalid.
Implementations§
Trait Implementations§
source§impl Debug for InvalidBoundary
impl Debug for InvalidBoundary
source§impl Default for InvalidBoundary
impl Default for InvalidBoundary
source§fn default() -> InvalidBoundary
fn default() -> InvalidBoundary
Returns the “default value” for a type. Read more
source§impl Display for InvalidBoundary
impl Display for InvalidBoundary
source§impl Error for InvalidBoundary
impl Error for InvalidBoundary
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<InvalidBoundary> for MultipartRejection
impl From<InvalidBoundary> for MultipartRejection
source§fn from(inner: InvalidBoundary) -> Self
fn from(inner: InvalidBoundary) -> Self
Converts to this type from the input type.
source§impl IntoResponse for InvalidBoundary
impl IntoResponse for InvalidBoundary
source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for InvalidBoundary
impl RefUnwindSafe for InvalidBoundary
impl Send for InvalidBoundary
impl Sync for InvalidBoundary
impl Unpin for InvalidBoundary
impl UnwindSafe for InvalidBoundary
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