pub struct CacheWarmingConfig {
pub enabled: bool,
pub node_ids: Vec<String>,
pub max_entries: usize,
pub strategy: WarmingStrategy,
}Expand description
Cache warming configuration
Fields§
§enabled: boolEnable automatic warming on startup
node_ids: Vec<String>Node IDs to warm
max_entries: usizeMaximum entries to warm
strategy: WarmingStrategyWarming strategy
Trait Implementations§
Source§impl Clone for CacheWarmingConfig
impl Clone for CacheWarmingConfig
Source§fn clone(&self) -> CacheWarmingConfig
fn clone(&self) -> CacheWarmingConfig
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 CacheWarmingConfig
impl Debug for CacheWarmingConfig
Source§impl Default for CacheWarmingConfig
impl Default for CacheWarmingConfig
Source§impl<'de> Deserialize<'de> for CacheWarmingConfig
impl<'de> Deserialize<'de> for CacheWarmingConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CacheWarmingConfig
impl RefUnwindSafe for CacheWarmingConfig
impl Send for CacheWarmingConfig
impl Sync for CacheWarmingConfig
impl Unpin for CacheWarmingConfig
impl UnwindSafe for CacheWarmingConfig
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