Trait reset_router::ext::ResponseExtensions [] [src]

pub trait ResponseExtensions {
    fn set_cookies(&mut self, jar: &CookieJar);
fn with_cookies(self, jar: &CookieJar) -> Response;
fn set_sized_body<T: HavingLen>(&mut self, t: T);
fn with_sized_body<T: HavingLen>(self, t: T) -> Response;
fn set_json<S: Serialize>(&mut self, obj: &S) -> Result<(), Error>;
fn with_json<S: Serialize>(self, obj: &S) -> Result<Response, Error>; }

Required Methods

Implementors