pub enum BootErrorKind {
Show 19 variants
EmptyModuleName,
InvalidRoutePath,
InvalidHostPattern,
DuplicateRoute,
NotFound,
MethodNotAllowed,
DuplicateProvider,
MissingProvider,
ProviderTypeMismatch,
Forbidden,
Unauthorized,
BadRequest,
PayloadTooLarge,
UnsupportedMediaType,
NotAcceptable,
TooManyRequests,
Adapter,
Internal,
Io,
}Expand description
Stable category for a BootError, useful for Nest-style catch filters.
Variants§
EmptyModuleName
InvalidRoutePath
InvalidHostPattern
DuplicateRoute
NotFound
MethodNotAllowed
DuplicateProvider
MissingProvider
ProviderTypeMismatch
Forbidden
BadRequest
PayloadTooLarge
UnsupportedMediaType
NotAcceptable
TooManyRequests
Adapter
Internal
Io
Trait Implementations§
Source§impl Clone for BootErrorKind
impl Clone for BootErrorKind
Source§fn clone(&self) -> BootErrorKind
fn clone(&self) -> BootErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BootErrorKind
Source§impl Debug for BootErrorKind
impl Debug for BootErrorKind
impl Eq for BootErrorKind
Source§impl Hash for BootErrorKind
impl Hash for BootErrorKind
Source§impl Ord for BootErrorKind
impl Ord for BootErrorKind
Source§fn cmp(&self, other: &BootErrorKind) -> Ordering
fn cmp(&self, other: &BootErrorKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BootErrorKind
impl PartialEq for BootErrorKind
Source§fn eq(&self, other: &BootErrorKind) -> bool
fn eq(&self, other: &BootErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BootErrorKind
impl PartialOrd for BootErrorKind
impl StructuralPartialEq for BootErrorKind
Auto Trait Implementations§
impl Freeze for BootErrorKind
impl RefUnwindSafe for BootErrorKind
impl Send for BootErrorKind
impl Sync for BootErrorKind
impl Unpin for BootErrorKind
impl UnsafeUnpin for BootErrorKind
impl UnwindSafe for BootErrorKind
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