pub struct DummyKVStore;Available on non-
c_bindings only.Expand description
A panicking implementation of KVStore that is used in NO_LIQUIDITY_MANAGER.
Trait Implementations§
Source§impl KVStore for DummyKVStore
impl KVStore for DummyKVStore
Source§fn read(
&self,
_: &str,
_: &str,
_: &str,
) -> impl Future<Output = Result<Vec<u8>, Error>> + MaybeSend + 'static
fn read( &self, _: &str, _: &str, _: &str, ) -> impl Future<Output = Result<Vec<u8>, Error>> + MaybeSend + 'static
Source§fn write(
&self,
_: &str,
_: &str,
_: &str,
_: Vec<u8>,
) -> impl Future<Output = Result<(), Error>> + MaybeSend + 'static
fn write( &self, _: &str, _: &str, _: &str, _: Vec<u8>, ) -> impl Future<Output = Result<(), Error>> + MaybeSend + 'static
Persists the given data under the given
key. Read moreAuto Trait Implementations§
impl Freeze for DummyKVStore
impl RefUnwindSafe for DummyKVStore
impl Send for DummyKVStore
impl Sync for DummyKVStore
impl Unpin for DummyKVStore
impl UnsafeUnpin for DummyKVStore
impl UnwindSafe for DummyKVStore
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