pub enum AuthorizationError {
Gen(Error),
Invoke(InvocationError),
}
Expand description
This error occurs when the process to generate an authorization key fails.
Variants§
Gen(Error)
The generation failed because the generation process went wrong.
Invoke(InvocationError)
The generation failed because invoking a request failed.
Trait Implementations§
source§impl Debug for AuthorizationError
impl Debug for AuthorizationError
source§impl Display for AuthorizationError
impl Display for AuthorizationError
source§impl Error for AuthorizationError
impl Error for AuthorizationError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 AuthorizationError
impl From<Error> for AuthorizationError
source§impl From<Error> for AuthorizationError
impl From<Error> for AuthorizationError
source§impl From<InvocationError> for AuthorizationError
impl From<InvocationError> for AuthorizationError
source§fn from(error: InvocationError) -> Self
fn from(error: InvocationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AuthorizationError
impl !RefUnwindSafe for AuthorizationError
impl Send for AuthorizationError
impl Sync for AuthorizationError
impl Unpin for AuthorizationError
impl !UnwindSafe for AuthorizationError
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