pub enum Cachability {
Public,
Private,
NoCache,
OnlyIfCached,
}
Expand description
How the data may be cached.
Variants§
Public
Any cache can cache this data.
Private
Data cannot be cached in shared caches.
NoCache
No one can cache this data.
OnlyIfCached
Cache the data the first time, and use the cache from then on.
Trait Implementations§
Source§impl Debug for Cachability
impl Debug for Cachability
Source§impl PartialEq for Cachability
impl PartialEq for Cachability
impl Eq for Cachability
impl StructuralPartialEq for Cachability
Auto Trait Implementations§
impl Freeze for Cachability
impl RefUnwindSafe for Cachability
impl Send for Cachability
impl Sync for Cachability
impl Unpin for Cachability
impl UnwindSafe for Cachability
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