Trait http_cache_semantics::ResponseLike[][src]

pub trait ResponseLike {
    fn status(&self) -> StatusCode;
fn headers(&self) -> &HeaderMap; }
Expand description

Allows using either Response or response::Parts, or your own newtype.

Required methods

Same as res.status()

Same as res.headers()

Implementations on Foreign Types

Implementors