pub enum ErrorCode {
InvalidRequest,
InsufficientScope,
InvalidToken,
}
Expand description
Indicates the reason for access failure.
Variants§
InvalidRequest
The request did not have enough authorization data or was otherwise malformed.
InsufficientScope
The provided authorization did not grant sufficient priviledges.
InvalidToken
The token is expired, revoked, malformed or otherwise does not meet expectations.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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