pub enum AuthErrorKind {
AuthenticationFailed {
reason: String,
},
AuthorizationDenied {
resource: String,
},
TokenExpired,
InvalidToken,
}Variants§
Trait Implementations§
Source§impl Clone for AuthErrorKind
impl Clone for AuthErrorKind
Source§fn clone(&self) -> AuthErrorKind
fn clone(&self) -> AuthErrorKind
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 AuthErrorKind
impl Debug for AuthErrorKind
Source§impl PartialEq for AuthErrorKind
impl PartialEq for AuthErrorKind
impl StructuralPartialEq for AuthErrorKind
Auto Trait Implementations§
impl Freeze for AuthErrorKind
impl RefUnwindSafe for AuthErrorKind
impl Send for AuthErrorKind
impl Sync for AuthErrorKind
impl Unpin for AuthErrorKind
impl UnsafeUnpin for AuthErrorKind
impl UnwindSafe for AuthErrorKind
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