pub struct StoreConfig {
pub hash_bits: u32,
pub memory_only: bool,
pub enable_caching: bool,
pub device_path: Option<String>,
pub file_size: Option<u64>,
pub max_memory: Option<usize>,
pub enable_ttl: bool,
pub ttl_config: Option<TtlConfig>,
}Expand description
Configuration options for FeoxStore.
Use StoreBuilder for a more ergonomic way to configure the store.
Fields§
§hash_bits: u32§memory_only: bool§enable_caching: bool§device_path: Option<String>§file_size: Option<u64>§max_memory: Option<usize>§enable_ttl: bool§ttl_config: Option<TtlConfig>Auto Trait Implementations§
impl Freeze for StoreConfig
impl RefUnwindSafe for StoreConfig
impl Send for StoreConfig
impl Sync for StoreConfig
impl Unpin for StoreConfig
impl UnsafeUnpin for StoreConfig
impl UnwindSafe for StoreConfig
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