pub struct InMemoryRemoteConfigStorage { /* private fields */ }Expand description
In-memory storage backend backing the current stub implementation.
Trait Implementations§
Source§impl Default for InMemoryRemoteConfigStorage
impl Default for InMemoryRemoteConfigStorage
Source§fn default() -> InMemoryRemoteConfigStorage
fn default() -> InMemoryRemoteConfigStorage
Returns the “default value” for a type. Read more
Source§impl RemoteConfigStorage for InMemoryRemoteConfigStorage
impl RemoteConfigStorage for InMemoryRemoteConfigStorage
fn get_last_fetch_status(&self) -> RemoteConfigResult<Option<FetchStatus>>
fn set_last_fetch_status(&self, status: FetchStatus) -> RemoteConfigResult<()>
fn get_last_successful_fetch_timestamp_millis( &self, ) -> RemoteConfigResult<Option<u64>>
fn set_last_successful_fetch_timestamp_millis( &self, timestamp: u64, ) -> RemoteConfigResult<()>
fn get_active_config( &self, ) -> RemoteConfigResult<Option<HashMap<String, String>>>
fn set_active_config( &self, config: HashMap<String, String>, ) -> RemoteConfigResult<()>
fn get_active_config_etag(&self) -> RemoteConfigResult<Option<String>>
fn set_active_config_etag(&self, etag: Option<String>) -> RemoteConfigResult<()>
fn get_active_config_template_version(&self) -> RemoteConfigResult<Option<u64>>
fn set_active_config_template_version( &self, template_version: Option<u64>, ) -> RemoteConfigResult<()>
Auto Trait Implementations§
impl !Freeze for InMemoryRemoteConfigStorage
impl RefUnwindSafe for InMemoryRemoteConfigStorage
impl Send for InMemoryRemoteConfigStorage
impl Sync for InMemoryRemoteConfigStorage
impl Unpin for InMemoryRemoteConfigStorage
impl UnwindSafe for InMemoryRemoteConfigStorage
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