pub struct StorageApiClient { /* private fields */ }
Trait Implementations§
Source§impl SocketClient for StorageApiClient
impl SocketClient for StorageApiClient
fn with_config(config: Arc<Config>) -> Self
fn connect(&mut self) -> Result<()>
fn disconnect(&mut self) -> Result<()>
fn insert(&self, storage_item: StorageItem)
fn update(&mut self, key: &str, storage_item: StorageItem) -> Result<()>
fn get(&mut self, key: &str) -> Result<StorageItem>
fn remove(&self, key: &str) -> bool
fn keys(&self) -> Vec<String>
fn clear(&self)
fn flush(&self)
Auto Trait Implementations§
impl Freeze for StorageApiClient
impl RefUnwindSafe for StorageApiClient
impl Send for StorageApiClient
impl Sync for StorageApiClient
impl Unpin for StorageApiClient
impl UnwindSafe for StorageApiClient
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