#[non_exhaustive]pub enum NotStored {
Status,
NoStore,
Private,
Authenticated,
VaryStar,
}Expand description
Why a response was not stored.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Status
Only 200 responses are stored.
NoStore
Cache-Control: no-store.
Private
Cache-Control: private and shared-credential caching was not enabled.
Authenticated
The request carried credentials and authenticated caching was not enabled.
VaryStar
Vary: *.
Trait Implementations§
impl Copy for NotStored
impl Eq for NotStored
impl StructuralPartialEq for NotStored
Auto Trait Implementations§
impl Forget for NotStored
impl Freeze for NotStored
impl RefUnwindSafe for NotStored
impl Send for NotStored
impl Sync for NotStored
impl Unpin for NotStored
impl UnsafeUnpin for NotStored
impl UnwindSafe for NotStored
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