pub enum CachingMode {
WriteThrough,
WriteAround,
NoCache,
}Variants§
WriteThrough
Allow to caching on read/write.
WriteAround
Allow to caching on read.
NoCache
Caching is not allowed.
Trait Implementations§
Source§impl Clone for CachingMode
impl Clone for CachingMode
Source§fn clone(&self) -> CachingMode
fn clone(&self) -> CachingMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CachingMode
impl Debug for CachingMode
Source§impl Default for CachingMode
impl Default for CachingMode
Source§impl PartialEq for CachingMode
impl PartialEq for CachingMode
impl Copy for CachingMode
impl Eq for CachingMode
impl StructuralPartialEq for CachingMode
Auto Trait Implementations§
impl Freeze for CachingMode
impl RefUnwindSafe for CachingMode
impl Send for CachingMode
impl Sync for CachingMode
impl Unpin for CachingMode
impl UnwindSafe for CachingMode
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