pub struct SimKv { /* private fields */ }Expand description
An in-memory key-value store.
Implementations§
Trait Implementations§
Source§impl KvStore for SimKv
impl KvStore for SimKv
Source§fn set(&self, key: &str, value: &[u8]) -> impl Future<Output = Result<()>>
fn set(&self, key: &str, value: &[u8]) -> impl Future<Output = Result<()>>
Writes
value to key, replacing what was there.Auto Trait Implementations§
impl !Freeze for SimKv
impl !RefUnwindSafe for SimKv
impl !Sync for SimKv
impl Forget for SimKv
impl Move for SimKv
impl Send for SimKv
impl Unpin for SimKv
impl UnsafeUnpin for SimKv
impl UnwindSafe for SimKv
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