pub struct EngineConfig {
pub instance_id: String,
pub enable_persistence: bool,
pub data_root: String,
pub audit_log_path: String,
pub audit_max_bytes: u64,
pub audit_max_files: u32,
pub audit_redact_tokens: Vec<String>,
pub data_retention_max_bytes: u64,
pub data_retention_max_age_secs: u64,
pub adapter: AdapterConfig,
pub signal_threshold: i64,
}Expand description
Runtime engine configuration.
Fields§
§instance_id: StringLogical runtime instance identifier.
enable_persistence: boolEnables JSONL persistence via RollingStore.
data_root: StringRoot directory for persisted data.
audit_log_path: StringAudit log file path.
audit_max_bytes: u64Maximum bytes before audit log rotation.
audit_max_files: u32Number of rotated audit files to retain.
audit_redact_tokens: Vec<String>Tokens to redact from audit details.
data_retention_max_bytes: u64Max retained persisted bytes (0 disables).
data_retention_max_age_secs: u64Max retained persisted age seconds (0 disables).
adapter: AdapterConfigAdapter/provider configuration.
signal_threshold: i64Absolute delta threshold for default signal module.
Trait Implementations§
Source§impl Clone for EngineConfig
impl Clone for EngineConfig
Source§fn clone(&self) -> EngineConfig
fn clone(&self) -> EngineConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EngineConfig
impl Debug for EngineConfig
Auto Trait Implementations§
impl Freeze for EngineConfig
impl RefUnwindSafe for EngineConfig
impl Send for EngineConfig
impl Sync for EngineConfig
impl Unpin for EngineConfig
impl UnsafeUnpin for EngineConfig
impl UnwindSafe for EngineConfig
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