pub enum Cache {
Platform {
memory: u64,
disk: u64,
},
Off,
}Expand description
Whether a client keeps an HTTP cache.
Variants§
Platform
The platform’s cache with these capacities in bytes, where it has one
(Capabilities::platform_cache).
Off
No cache.
Implementations§
Trait Implementations§
impl Copy for Cache
impl Eq for Cache
impl StructuralPartialEq for Cache
Auto Trait Implementations§
impl Forget for Cache
impl Freeze for Cache
impl Move for Cache
impl RefUnwindSafe for Cache
impl Send for Cache
impl Sync for Cache
impl Unpin for Cache
impl UnsafeUnpin for Cache
impl UnwindSafe for Cache
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