pub struct HybridConfig {
pub hot_max_objects: usize,
pub hot_max_bytes: usize,
pub cache_config: CacheConfig,
pub promote_threshold: u32,
pub migration_interval_secs: u64,
}Expand description
Configuration for hybrid storage.
Fields§
§hot_max_objects: usizeMaximum number of objects in hot storage.
hot_max_bytes: usizeMaximum size in bytes for hot storage.
cache_config: CacheConfigCache configuration for the warm layer.
promote_threshold: u32Threshold for promoting objects to hot storage.
migration_interval_secs: u64Interval for background migration (seconds).
Trait Implementations§
Source§impl Clone for HybridConfig
impl Clone for HybridConfig
Source§fn clone(&self) -> HybridConfig
fn clone(&self) -> HybridConfig
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 HybridConfig
impl Debug for HybridConfig
Auto Trait Implementations§
impl Freeze for HybridConfig
impl RefUnwindSafe for HybridConfig
impl Send for HybridConfig
impl Sync for HybridConfig
impl Unpin for HybridConfig
impl UnwindSafe for HybridConfig
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