pub enum OAuthErrorCode {
InvalidRequest,
InvalidClient,
InvalidGrant,
}Expand description
OAuth error codes exposed by OwlAuth.
Variants§
InvalidRequest
The request is missing a required parameter or is otherwise malformed.
InvalidClient
Client authentication failed.
InvalidGrant
The authorization grant is invalid or expired.
Trait Implementations§
Source§impl Clone for OAuthErrorCode
impl Clone for OAuthErrorCode
Source§fn clone(&self) -> OAuthErrorCode
fn clone(&self) -> OAuthErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for OAuthErrorCode
impl ComposeSchema for OAuthErrorCode
impl Copy for OAuthErrorCode
Source§impl Debug for OAuthErrorCode
impl Debug for OAuthErrorCode
Source§impl Display for OAuthErrorCode
impl Display for OAuthErrorCode
impl Eq for OAuthErrorCode
Source§impl PartialEq for OAuthErrorCode
impl PartialEq for OAuthErrorCode
Source§impl Serialize for OAuthErrorCode
impl Serialize for OAuthErrorCode
impl StructuralPartialEq for OAuthErrorCode
Auto Trait Implementations§
impl Freeze for OAuthErrorCode
impl RefUnwindSafe for OAuthErrorCode
impl Send for OAuthErrorCode
impl Sync for OAuthErrorCode
impl Unpin for OAuthErrorCode
impl UnsafeUnpin for OAuthErrorCode
impl UnwindSafe for OAuthErrorCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.