pub enum AuthenticationError {
SerdeJsonError(Error),
UidParseError(String),
}
Variants§
SerdeJsonError(Error)
A parsing error from the serde_json library
This might be raised if the returned JSON data is invalid, or couldn’t
be parsed into the XxxResponse
struct properly.
UidParseError(String)
An error occured while parsing the uid
field from the authenticate
response
Trait Implementations§
Source§impl Debug for AuthenticationError
impl Debug for AuthenticationError
Source§impl Display for AuthenticationError
impl Display for AuthenticationError
Source§impl Error for AuthenticationError
impl Error for AuthenticationError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<AuthenticationError> for ClosureAuthError
impl From<AuthenticationError> for ClosureAuthError
Source§fn from(value: AuthenticationError) -> Self
fn from(value: AuthenticationError) -> Self
Converts to this type from the input type.
Source§impl From<AuthenticationError> for Error
impl From<AuthenticationError> for Error
Source§fn from(value: AuthenticationError) -> Self
fn from(value: AuthenticationError) -> Self
Converts to this type from the input type.
Source§impl From<AuthenticationError> for ReqwestAuthError
impl From<AuthenticationError> for ReqwestAuthError
Source§fn from(value: AuthenticationError) -> Self
fn from(value: AuthenticationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AuthenticationError
impl !RefUnwindSafe for AuthenticationError
impl Send for AuthenticationError
impl Sync for AuthenticationError
impl Unpin for AuthenticationError
impl !UnwindSafe for AuthenticationError
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