pub enum AfterResponse {
NotModified(CachePolicy, Parts),
Modified(CachePolicy, Parts),
}
Expand description
New policy and flags to act on after_response()
Variants
NotModified(CachePolicy, Parts)
You can use the cached body! Make sure to use these updated headers
Modified(CachePolicy, Parts)
You need to update the body in the cache
Auto Trait Implementations
impl !RefUnwindSafe for AfterResponse
impl Send for AfterResponse
impl Sync for AfterResponse
impl Unpin for AfterResponse
impl !UnwindSafe for AfterResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more