pub(crate) enum Known {
Show 15 variants
MethodNotAllowed(MethodNotAllowed),
InvalidHeader(InvalidHeader),
MissingHeader(MissingHeader),
MissingCookie(MissingCookie),
InvalidQuery(InvalidQuery),
LengthRequired(LengthRequired),
PayloadTooLarge(PayloadTooLarge),
UnsupportedMediaType(UnsupportedMediaType),
FileOpenError(FileOpenError),
FilePermissionError(FilePermissionError),
BodyReadError(BodyReadError),
BodyDeserializeError(BodyDeserializeError),
CorsForbidden(CorsForbidden),
MissingExtension(MissingExtension),
BodyConsumedMultipleTimes(BodyConsumedMultipleTimes),
}
Variants§
MethodNotAllowed(MethodNotAllowed)
InvalidHeader(InvalidHeader)
MissingHeader(MissingHeader)
MissingCookie(MissingCookie)
InvalidQuery(InvalidQuery)
LengthRequired(LengthRequired)
PayloadTooLarge(PayloadTooLarge)
UnsupportedMediaType(UnsupportedMediaType)
FileOpenError(FileOpenError)
FilePermissionError(FilePermissionError)
BodyReadError(BodyReadError)
BodyDeserializeError(BodyDeserializeError)
CorsForbidden(CorsForbidden)
MissingExtension(MissingExtension)
BodyConsumedMultipleTimes(BodyConsumedMultipleTimes)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Known
impl !RefUnwindSafe for Known
impl Send for Known
impl Sync for Known
impl Unpin for Known
impl !UnwindSafe for Known
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