Trait tsukuyomi::output::Responder [−][src]
pub trait Responder {
fn respond_to(self, input: &mut Input) -> Result<Output, Error>;
}A trait representing the conversion to an HTTP response.
Required Methods
fn respond_to(self, input: &mut Input) -> Result<Output, Error>
Converts self to an HTTP response.
Implementations on Foreign Types
impl Responder for ()[src]
impl Responder for ()impl<T> Responder for Option<T> where
T: Responder, [src]
impl<T> Responder for Option<T> where
T: Responder, impl<T> Responder for Result<T, Error> where
T: Responder, [src]
impl<T> Responder for Result<T, Error> where
T: Responder, impl<T> Responder for Response<T> where
T: Into<ResponseBody>, [src]
impl<T> Responder for Response<T> where
T: Into<ResponseBody>, impl Responder for &'static str[src]
impl Responder for &'static strimpl Responder for String[src]
impl Responder for StringImplementors
impl<T: Serialize + HttpResponse> Responder for Json<T>impl Responder for JsonValue