pub trait StorageSettingsCache: Send + Sync {
// Required methods
fn cached_storage_settings(&self) -> StorageSettings;
fn set_storage_settings_cache(&self, settings: StorageSettings);
}Available on crate feature
db-api only.Expand description
Trait for caching storage settings on a provider factory.
Required Methods§
Sourcefn cached_storage_settings(&self) -> StorageSettings
fn cached_storage_settings(&self) -> StorageSettings
Gets the cached storage settings.
Sourcefn set_storage_settings_cache(&self, settings: StorageSettings)
fn set_storage_settings_cache(&self, settings: StorageSettings)
Sets the storage settings of this ProviderFactory.
IMPORTANT: It does not save settings in storage, that should be done by
MetadataWriter::write_storage_settings