Struct NullCache
routing
pub struct NullCache;
A no-op implementation of the Cache trait. Throws everything away on put and always returns None on get.
Cache
None
impl Cache for NullCache
fn get(&self, _: &Request) -> Option<Response>
Retrieve cached response for the given request.
fn put(&self, _: Response)
Cache the given response.
impl Send for NullCache
impl Sync for NullCache