Struct reqwest_cache::CacheMiddleware [−][src]
pub struct CacheMiddleware { /* fields omitted */ }Expand description
Middleware that caches responses based on [HTTP cache headers].
Implementations
Constructs a new CacheMiddleware with the given caching options.
Trait Implementations
Returns the “default value” for a type. Read more
Invoked with a request before sending it. If you want to continue processing the request,
you should explicitly call next.run(req, extensions). Read more
Auto Trait Implementations
impl !RefUnwindSafe for CacheMiddleware
impl Send for CacheMiddleware
impl Sync for CacheMiddleware
impl Unpin for CacheMiddleware
impl !UnwindSafe for CacheMiddleware
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
