Enum graph_oauth::oauth::OAuthError
source · [−]pub enum OAuthError {
GraphFailure(GraphFailure),
}
Expand description
Error implementation for OAuth
Variants
GraphFailure(GraphFailure)
Implementations
pub fn grant_error<T>(
grant: GrantType,
grant_request: GrantRequest,
msg: &str
) -> Result<T, GraphFailure>
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for OAuthError
impl Send for OAuthError
impl Sync for OAuthError
impl Unpin for OAuthError
impl !UnwindSafe for OAuthError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more