pub struct StateStoreConfig {
pub max_params: Option<usize>,
pub param_ttl: Option<Duration>,
pub eviction: EvictionStrategy,
}Expand description
Configuration for state store limits
Fields§
§max_params: Option<usize>Maximum number of parameters (None = unlimited)
param_ttl: Option<Duration>Time-to-live for parameters without access (None = never expire)
eviction: EvictionStrategyStrategy for eviction when at capacity
Implementations§
Trait Implementations§
Source§impl Clone for StateStoreConfig
impl Clone for StateStoreConfig
Source§fn clone(&self) -> StateStoreConfig
fn clone(&self) -> StateStoreConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StateStoreConfig
impl Debug for StateStoreConfig
Auto Trait Implementations§
impl Freeze for StateStoreConfig
impl RefUnwindSafe for StateStoreConfig
impl Send for StateStoreConfig
impl Sync for StateStoreConfig
impl Unpin for StateStoreConfig
impl UnsafeUnpin for StateStoreConfig
impl UnwindSafe for StateStoreConfig
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