[−][src]Struct oxide_auth_rouille::Response
The type Oxide Auth provides in response to a request.
Methods
impl Response
[src]
pub fn into_inner(self) -> Response
[src]
Produce a rouille::Response
from a Response
Trait Implementations
impl Debug for Response
[src]
impl From<Response> for Response
[src]
impl From<Response> for Response
[src]
impl WebResponse for Response
[src]
type Error = WebError
The error generated when trying to construct an unhandled or invalid response.
fn ok(&mut self) -> Result<(), Self::Error>
[src]
fn redirect(&mut self, url: Url) -> Result<(), Self::Error>
[src]
fn client_error(&mut self) -> Result<(), Self::Error>
[src]
fn unauthorized(&mut self, kind: &str) -> Result<(), Self::Error>
[src]
fn body_text(&mut self, text: &str) -> Result<(), Self::Error>
[src]
fn body_json(&mut self, data: &str) -> Result<(), Self::Error>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Response
impl Send for Response
impl !Sync for Response
impl Unpin for Response
impl !UnwindSafe for Response
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,