pub enum CacheEngine {
Redis,
None,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CacheEngine
impl Clone for CacheEngine
Source§fn clone(&self) -> CacheEngine
fn clone(&self) -> CacheEngine
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 CacheEngine
Source§impl Debug for CacheEngine
impl Debug for CacheEngine
impl Eq for CacheEngine
Source§impl PartialEq for CacheEngine
impl PartialEq for CacheEngine
Source§fn eq(&self, other: &CacheEngine) -> bool
fn eq(&self, other: &CacheEngine) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CacheEngine
impl Serialize for CacheEngine
impl StructuralPartialEq for CacheEngine
Auto Trait Implementations§
impl Freeze for CacheEngine
impl RefUnwindSafe for CacheEngine
impl Send for CacheEngine
impl Sync for CacheEngine
impl Unpin for CacheEngine
impl UnsafeUnpin for CacheEngine
impl UnwindSafe for CacheEngine
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.