Trait tsukuyomi::output::Responder[][src]

pub trait Responder {
    fn respond_to(self, cx: &Context) -> Result<Output, Error>;
}

A trait representing the conversion to an HTTP response.

Required Methods

Converts self to an HTTP response.

Implementations on Foreign Types

impl<T> Responder for Option<T> where
    T: Responder
[src]

impl<T> Responder for Result<T, Error> where
    T: Responder
[src]

impl<T> Responder for Response<T> where
    T: Into<ResponseBody>, 
[src]

impl Responder for &'static str
[src]

impl Responder for String
[src]

Implementors