pub enum BadRequestReason {
MissingHeader(&'static str),
InvalidHeader(&'static str),
MissingQueryParam(&'static str),
InvalidQueryParam(&'static str),
NoPathOrQuery,
NoHostName,
UnsupportedUrlScheme,
}Variants§
MissingHeader(&'static str)
InvalidHeader(&'static str)
MissingQueryParam(&'static str)
InvalidQueryParam(&'static str)
NoPathOrQuery
NoHostName
UnsupportedUrlScheme
Auto Trait Implementations§
impl Freeze for BadRequestReason
impl RefUnwindSafe for BadRequestReason
impl Send for BadRequestReason
impl Sync for BadRequestReason
impl Unpin for BadRequestReason
impl UnwindSafe for BadRequestReason
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