Enum graph_rs_sdk::error::AuthExecutionError  
source · pub enum AuthExecutionError {
    Authorization(AuthorizationFailure),
    Request(Error),
    Http(Error),
    SilentTokenAuth {
        message: String,
        response: Response<Result<Value, ErrorMessage>>,
    },
    JsonWebToken(Error),
}Expand description
Error either from missing or invalid configuration using one of the identity platform clients or an error from the result of executing an http request using the identity platform clients.
Variants§
Implementations§
source§impl AuthExecutionError
 
impl AuthExecutionError
pub fn silent_token_auth( response: Response<Result<Value, ErrorMessage>> ) -> AuthExecutionError
Trait Implementations§
source§impl Debug for AuthExecutionError
 
impl Debug for AuthExecutionError
source§impl Display for AuthExecutionError
 
impl Display for AuthExecutionError
source§impl Error for AuthExecutionError
 
impl Error for AuthExecutionError
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<R> From<AuthExecutionError> for AuthTaskExecutionError<R>
 
impl<R> From<AuthExecutionError> for AuthTaskExecutionError<R>
source§fn from(source: AuthExecutionError) -> AuthTaskExecutionError<R>
 
fn from(source: AuthExecutionError) -> AuthTaskExecutionError<R>
Converts to this type from the input type.
source§impl From<AuthExecutionError> for GraphFailure
 
impl From<AuthExecutionError> for GraphFailure
source§fn from(value: AuthExecutionError) -> GraphFailure
 
fn from(value: AuthExecutionError) -> GraphFailure
Converts to this type from the input type.
source§impl From<AuthorizationFailure> for AuthExecutionError
 
impl From<AuthorizationFailure> for AuthExecutionError
source§fn from(source: AuthorizationFailure) -> AuthExecutionError
 
fn from(source: AuthorizationFailure) -> AuthExecutionError
Converts to this type from the input type.
source§impl From<Error> for AuthExecutionError
 
impl From<Error> for AuthExecutionError
source§fn from(source: Error) -> AuthExecutionError
 
fn from(source: Error) -> AuthExecutionError
Converts to this type from the input type.
source§impl From<Error> for AuthExecutionError
 
impl From<Error> for AuthExecutionError
source§fn from(source: Error) -> AuthExecutionError
 
fn from(source: Error) -> AuthExecutionError
Converts to this type from the input type.
source§impl From<Error> for AuthExecutionError
 
impl From<Error> for AuthExecutionError
source§fn from(value: Error) -> AuthExecutionError
 
fn from(value: Error) -> AuthExecutionError
Converts to this type from the input type.
source§impl From<Error> for AuthExecutionError
 
impl From<Error> for AuthExecutionError
source§fn from(source: Error) -> AuthExecutionError
 
fn from(source: Error) -> AuthExecutionError
Converts to this type from the input type.
source§impl From<ParseError> for AuthExecutionError
 
impl From<ParseError> for AuthExecutionError
source§fn from(value: ParseError) -> AuthExecutionError
 
fn from(value: ParseError) -> AuthExecutionError
Converts to this type from the input type.
source§impl From<WebViewDeviceCodeError> for AuthExecutionError
 
impl From<WebViewDeviceCodeError> for AuthExecutionError
source§fn from(value: WebViewDeviceCodeError) -> AuthExecutionError
 
fn from(value: WebViewDeviceCodeError) -> AuthExecutionError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AuthExecutionError
impl !RefUnwindSafe for AuthExecutionError
impl Send for AuthExecutionError
impl Sync for AuthExecutionError
impl Unpin for AuthExecutionError
impl !UnwindSafe for AuthExecutionError
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