[][src]Struct oxide_auth_rocket::OAuthResponse

pub struct OAuthResponse<'r>(_);

Response type for Rocket OAuth requests

A simple wrapper type around a simple rocket::Response<'r> that implements WebResponse.

Methods

impl<'r> OAuthResponse<'r>[src]

pub fn new() -> Self[src]

Create a new OAuthResponse<'r>

pub fn from_response(response: Response<'r>) -> Self[src]

Create a new OAuthResponse<'r> from an existing rocket::Response<'r>

Trait Implementations

impl<'r> Debug for OAuthResponse<'r>[src]

impl<'r> Default for OAuthResponse<'r>[src]

impl<'r> From<Response<'r>> for OAuthResponse<'r>[src]

impl<'r> Into<Response<'r>> for OAuthResponse<'r>[src]

impl<'r> Responder<'r> for OAuthResponse<'r>[src]

impl<'r> WebResponse for OAuthResponse<'r>[src]

type Error = WebError

The error generated when trying to construct an unhandled or invalid response.

Auto Trait Implementations

impl<'r> !RefUnwindSafe for OAuthResponse<'r>

impl<'r> !Send for OAuthResponse<'r>

impl<'r> !Sync for OAuthResponse<'r>

impl<'r> Unpin for OAuthResponse<'r>

impl<'r> !UnwindSafe for OAuthResponse<'r>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, I> AsResult<T, I> for T where
    I: Input, 

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoCollection<T> for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any