pub enum CacheType {
InMemory,
Distributed,
Redis,
}Expand description
Available cache backend types.
Defines the different cache implementations that can be used.
Variants§
InMemory
In-memory caching (faster but not shared across instances)
Distributed
Distributed caching (shared across multiple instances)
Redis
Redis-based caching (external Redis server)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CacheType
impl RefUnwindSafe for CacheType
impl Send for CacheType
impl Sync for CacheType
impl Unpin for CacheType
impl UnwindSafe for CacheType
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