pub enum CacheMode {
NoStore,
NoCache,
Reload,
}Expand description
Cache mode for controlling how requests interact with the cache.
Corresponds to JavaScript’s RequestInit.cache property.
Variants§
Trait Implementations§
Source§impl From<CacheMode> for RequestCache
impl From<CacheMode> for RequestCache
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 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