Enum cameleon_genapi::elem_type::CachingMode
source · 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 copy 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<CachingMode> for CachingMode
impl PartialEq<CachingMode> for CachingMode
source§fn eq(&self, other: &CachingMode) -> bool
fn eq(&self, other: &CachingMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CachingMode
impl Eq for CachingMode
impl StructuralEq for CachingMode
impl StructuralPartialEq for CachingMode
Auto Trait Implementations§
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