pub enum AuthError {
Network(Error),
Serde(Error),
Io(Error),
Generic(String),
ResponseError(AuthErrorResponse),
JoseError(JoseError),
OpenSSl(ErrorStack),
}
Expand description
Box API Auth errors
Variants§
Network(Error)
Serde(Error)
Io(Error)
Generic(String)
ResponseError(AuthErrorResponse)
JoseError(JoseError)
OpenSSl(ErrorStack)
Trait Implementations§
Source§impl From<AuthError> for BoxAPIError
impl From<AuthError> for BoxAPIError
Source§impl From<AuthErrorResponse> for AuthError
impl From<AuthErrorResponse> for AuthError
Source§fn from(e: AuthErrorResponse) -> Self
fn from(e: AuthErrorResponse) -> Self
Converts to this type from the input type.
Source§impl From<ErrorStack> for AuthError
impl From<ErrorStack> for AuthError
Source§fn from(e: ErrorStack) -> Self
fn from(e: ErrorStack) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AuthError
impl !RefUnwindSafe for AuthError
impl Send for AuthError
impl Sync for AuthError
impl Unpin for AuthError
impl !UnwindSafe for AuthError
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