pub struct StorageApi { /* private fields */ }Trait Implementations§
Source§impl ApiService for StorageApi
impl ApiService for StorageApi
fn with_config(storage: Storage, config: Arc<Config>) -> Self
fn start( &self, shutdown: Arc<AtomicBool>, signal_ready_sender: Sender<()>, ) -> Result<(), String>
fn stop(&self)
fn keys(&self) -> Vec<String>
fn set_item(&self, _key: &str, _item: StorageItem) -> bool
fn get_item(&self, _key: &str) -> Option<StorageItem>
fn remove_item(&self, key: &str) -> bool
Auto Trait Implementations§
impl !Freeze for StorageApi
impl RefUnwindSafe for StorageApi
impl Send for StorageApi
impl Sync for StorageApi
impl Unpin for StorageApi
impl UnwindSafe for StorageApi
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