Response

Trait Response 

Source
pub trait Response {
    // Required method
    fn to_response(&self) -> HttpResponse;
}
Expand description

Trait that allows things to be sent back from the server

Required Methods§

Implementors§

Source§

impl<T: AsRef<str>> Response for T