pub enum AuthenticateTokenError {
Unauthorized,
HookServerError(Error),
OtherError(Error),
}
Expand description
Authenticate token error type.
Variants§
The token is invalid.
HookServerError(Error)
We had an error talking to the hook server.
OtherError(Error)
We had an internal error.
Auto Trait Implementations§
impl Freeze for AuthenticateTokenError
impl !RefUnwindSafe for AuthenticateTokenError
impl Send for AuthenticateTokenError
impl Sync for AuthenticateTokenError
impl Unpin for AuthenticateTokenError
impl !UnwindSafe for AuthenticateTokenError
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