pub struct InMemoryCacheBackend { /* private fields */ }Trait Implementations§
Source§impl CacheBackend for InMemoryCacheBackend
impl CacheBackend for InMemoryCacheBackend
fn get(&self, key: &str) -> AppServiceResult<Option<Value>>
fn set(&self, key: &str, entry: CacheEntry) -> AppServiceResult<()>
fn delete(&self, key: &str) -> AppServiceResult<()>
Source§impl Default for InMemoryCacheBackend
impl Default for InMemoryCacheBackend
Source§fn default() -> InMemoryCacheBackend
fn default() -> InMemoryCacheBackend
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for InMemoryCacheBackend
impl RefUnwindSafe for InMemoryCacheBackend
impl Send for InMemoryCacheBackend
impl Sync for InMemoryCacheBackend
impl Unpin for InMemoryCacheBackend
impl UnsafeUnpin for InMemoryCacheBackend
impl UnwindSafe for InMemoryCacheBackend
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