pub enum StorageCachePolicy {
Bypass,
Use,
}Expand description
Cache policy for backend storage reads.
Variants§
Trait Implementations§
Source§impl Clone for StorageCachePolicy
impl Clone for StorageCachePolicy
Source§fn clone(&self) -> StorageCachePolicy
fn clone(&self) -> StorageCachePolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StorageCachePolicy
Source§impl Debug for StorageCachePolicy
impl Debug for StorageCachePolicy
Source§impl Default for StorageCachePolicy
impl Default for StorageCachePolicy
Source§fn default() -> StorageCachePolicy
fn default() -> StorageCachePolicy
Returns the “default value” for a type. Read more
impl Eq for StorageCachePolicy
Source§impl PartialEq for StorageCachePolicy
impl PartialEq for StorageCachePolicy
impl StructuralPartialEq for StorageCachePolicy
Auto Trait Implementations§
impl Freeze for StorageCachePolicy
impl RefUnwindSafe for StorageCachePolicy
impl Send for StorageCachePolicy
impl Sync for StorageCachePolicy
impl Unpin for StorageCachePolicy
impl UnsafeUnpin for StorageCachePolicy
impl UnwindSafe for StorageCachePolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more