pub enum AuthenticError {
Hyper(Error),
InvalidHeaderValue(InvalidHeaderValue),
ReqwestInvalidHeaderName(InvalidHeaderName),
Reqwest(Error),
JsonWebToken(Error),
SystemTime(SystemTimeError),
UnknownRealm(String),
Other(String),
}
Variants§
Hyper(Error)
InvalidHeaderValue(InvalidHeaderValue)
ReqwestInvalidHeaderName(InvalidHeaderName)
Reqwest(Error)
JsonWebToken(Error)
SystemTime(SystemTimeError)
UnknownRealm(String)
Other(String)
Trait Implementations§
Source§impl Debug for AuthenticError
impl Debug for AuthenticError
Source§impl Display for AuthenticError
impl Display for AuthenticError
Source§impl Error for AuthenticError
impl Error for AuthenticError
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<Error> for AuthenticError
impl From<Error> for AuthenticError
Source§impl From<Error> for AuthenticError
impl From<Error> for AuthenticError
Source§impl From<Error> for AuthenticError
impl From<Error> for AuthenticError
Source§impl From<InvalidHeaderName> for AuthenticError
impl From<InvalidHeaderName> for AuthenticError
Source§fn from(source: InvalidHeaderName) -> Self
fn from(source: InvalidHeaderName) -> Self
Converts to this type from the input type.
Source§impl From<InvalidHeaderValue> for AuthenticError
impl From<InvalidHeaderValue> for AuthenticError
Source§fn from(source: InvalidHeaderValue) -> Self
fn from(source: InvalidHeaderValue) -> Self
Converts to this type from the input type.
Source§impl From<SystemTimeError> for AuthenticError
impl From<SystemTimeError> for AuthenticError
Source§fn from(source: SystemTimeError) -> Self
fn from(source: SystemTimeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AuthenticError
impl !RefUnwindSafe for AuthenticError
impl Send for AuthenticError
impl Sync for AuthenticError
impl Unpin for AuthenticError
impl !UnwindSafe for AuthenticError
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