Expand description
Configuration for claw-core.
ClawConfig holds all tunable parameters for a crate::engine::ClawEngine
instance. Use ClawConfig::builder() to obtain a ClawConfigBuilder
and construct a validated configuration with the builder pattern.
§Example
use claw_core::config::{ClawConfig, JournalMode};
let config = ClawConfig::builder()
.max_connections(5)
.wal_enabled(true)
.cache_size_mb(128)
.journal_mode(JournalMode::WAL)
.build()
.expect("valid configuration");Structs§
- Claw
Config - Runtime configuration for a claw-core engine instance.
- Claw
Config Builder - Builder for
ClawConfig.
Enums§
- Journal
Mode - SQLite journal mode.