[][src]Struct tide::response::WithStatus

pub struct WithStatus<R> { /* fields omitted */ }

A response type that modifies the status code.

Trait Implementations

impl<R: IntoResponse> IntoResponse for WithStatus<R>[src]

fn with_status(self, status: StatusCode) -> WithStatus<Self>[src]

Create a new IntoResponse value that will respond with the given status code. Read more

Auto Trait Implementations

impl<R> Send for WithStatus<R> where
    R: Send

impl<R> Sync for WithStatus<R> where
    R: Sync

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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> Borrow for T where
    T: ?Sized
[src]

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

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

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]