#[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§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