pub enum CacheMode {
Normal,
Refresh,
Off,
}Expand description
How a command uses the cache.
Variants§
Normal
Serve fresh entries, store new responses.
Refresh
Skip reads, but store the fresh responses (--refresh).
Off
No reads, no writes (--no-cache, GRAB_NO_CACHE=1, ordering paths).
Implementations§
Trait Implementations§
impl Copy for CacheMode
impl Eq for CacheMode
impl StructuralPartialEq for CacheMode
Auto Trait Implementations§
impl Freeze for CacheMode
impl RefUnwindSafe for CacheMode
impl Send for CacheMode
impl Sync for CacheMode
impl Unpin for CacheMode
impl UnsafeUnpin for CacheMode
impl UnwindSafe for CacheMode
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