Struct oxide_auth_rocket::OAuthFailure
source · pub struct OAuthFailure { /* private fields */ }
Expand description
Failed handling of an oauth request, providing a response.
The error responses generated by this type are not part of the stable interface. To create
stable error pages or to build more meaningful errors, either destructure this using the
oauth
and web
method or avoid turning errors into this type by providing a custom error
representation.
Implementations§
Trait Implementations§
source§impl Clone for OAuthFailure
impl Clone for OAuthFailure
source§fn clone(&self) -> OAuthFailure
fn clone(&self) -> OAuthFailure
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OAuthFailure
impl Debug for OAuthFailure
source§impl From<OAuthError> for OAuthFailure
impl From<OAuthError> for OAuthFailure
source§fn from(err: OAuthError) -> Self
fn from(err: OAuthError) -> Self
Converts to this type from the input type.
source§impl From<WebError> for OAuthFailure
impl From<WebError> for OAuthFailure
source§impl<'r> Responder<'r> for OAuthFailure
impl<'r> Responder<'r> for OAuthFailure
Auto Trait Implementations§
impl Freeze for OAuthFailure
impl RefUnwindSafe for OAuthFailure
impl Send for OAuthFailure
impl Sync for OAuthFailure
impl Unpin for OAuthFailure
impl UnwindSafe for OAuthFailure
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