pub struct MemoryConfig {
pub cache_config: CacheConfig,
pub agentdb_url: String,
pub storage_path: String,
pub enable_compression: bool,
pub max_memory_bytes: usize,
}Expand description
Memory system configuration
Fields§
§cache_config: CacheConfigL1 cache configuration
agentdb_url: StringAgentDB base URL
storage_path: StringCold storage path
enable_compression: boolEnable compression for distillation
max_memory_bytes: usizeMaximum memory footprint (bytes)
Trait Implementations§
Source§impl Clone for MemoryConfig
impl Clone for MemoryConfig
Source§fn clone(&self) -> MemoryConfig
fn clone(&self) -> MemoryConfig
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 MemoryConfig
impl Debug for MemoryConfig
Auto Trait Implementations§
impl Freeze for MemoryConfig
impl RefUnwindSafe for MemoryConfig
impl Send for MemoryConfig
impl Sync for MemoryConfig
impl Unpin for MemoryConfig
impl UnwindSafe for MemoryConfig
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