pub enum ServerErrorKind {
InvalidRequest,
Unauthenticated,
Unauthorized,
Conflict,
Unavailable,
Internal,
}Variants§
Implementations§
Source§impl ServerErrorKind
impl ServerErrorKind
pub const fn from_http_status(status: u16) -> Self
Trait Implementations§
Source§impl Clone for ServerErrorKind
impl Clone for ServerErrorKind
Source§fn clone(&self) -> ServerErrorKind
fn clone(&self) -> ServerErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServerErrorKind
impl Debug for ServerErrorKind
Source§impl PartialEq for ServerErrorKind
impl PartialEq for ServerErrorKind
Source§impl Serialize for ServerErrorKind
impl Serialize for ServerErrorKind
impl Copy for ServerErrorKind
impl Eq for ServerErrorKind
impl StructuralPartialEq for ServerErrorKind
Auto Trait Implementations§
impl Freeze for ServerErrorKind
impl RefUnwindSafe for ServerErrorKind
impl Send for ServerErrorKind
impl Sync for ServerErrorKind
impl Unpin for ServerErrorKind
impl UnsafeUnpin for ServerErrorKind
impl UnwindSafe for ServerErrorKind
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