pub struct CandidateCacheConfig {
pub default_ttl: Duration,
pub max_cache_size: usize,
pub cleanup_interval: Duration,
pub enable_validation_cache: bool,
pub validation_ttl: Duration,
}Expand description
Configuration for candidate caching
Fields§
§default_ttl: DurationDefault TTL for cached candidates
max_cache_size: usizeMaximum number of candidate sets to cache
cleanup_interval: DurationCleanup interval for expired entries
enable_validation_cache: boolEnable candidate validation caching
validation_ttl: DurationTTL for validation results
Trait Implementations§
Source§impl Clone for CandidateCacheConfig
impl Clone for CandidateCacheConfig
Source§fn clone(&self) -> CandidateCacheConfig
fn clone(&self) -> CandidateCacheConfig
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 CandidateCacheConfig
impl Debug for CandidateCacheConfig
Auto Trait Implementations§
impl Freeze for CandidateCacheConfig
impl RefUnwindSafe for CandidateCacheConfig
impl Send for CandidateCacheConfig
impl Sync for CandidateCacheConfig
impl Unpin for CandidateCacheConfig
impl UnwindSafe for CandidateCacheConfig
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