pub enum GetTokenError {
Auth(Error),
TokenExpired,
NoToken,
}Variants§
Trait Implementations§
Source§impl Debug for GetTokenError
impl Debug for GetTokenError
Source§impl Display for GetTokenError
impl Display for GetTokenError
Source§impl Error for GetTokenError
impl Error for GetTokenError
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 GetTokenError
impl From<Error> for GetTokenError
Source§fn from(value: Error) -> GetTokenError
fn from(value: Error) -> GetTokenError
Converts to this type from the input type.
Source§impl From<GetTokenError> for ApiCallError
impl From<GetTokenError> for ApiCallError
Source§fn from(value: GetTokenError) -> ApiCallError
fn from(value: GetTokenError) -> ApiCallError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for GetTokenError
impl !UnwindSafe for GetTokenError
impl Freeze for GetTokenError
impl Send for GetTokenError
impl Sync for GetTokenError
impl Unpin for GetTokenError
impl UnsafeUnpin for GetTokenError
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