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 !Freeze for AfterResponse
impl !RefUnwindSafe for AfterResponse
impl Send for AfterResponse
impl Sync for AfterResponse
impl Unpin for AfterResponse
impl !UnwindSafe for AfterResponse
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more