pub struct QdbConfig {
pub default_bond_dimension: usize,
pub golay_enabled: bool,
pub truncation_threshold: f64,
pub max_entry_size: usize,
pub read_only: bool,
pub radiation_mode: RadiationMode,
pub triple_redundancy: bool,
pub post_quantum_signing: bool,
}Expand description
QDB configuration
Fields§
§default_bond_dimension: usizeDefault bond dimension for quantum states
golay_enabled: boolEnable Golay error correction
truncation_threshold: f64Truncation threshold for MPS
max_entry_size: usizeMaximum entry size in bytes
read_only: boolRead-only mode
radiation_mode: RadiationModeRadiation hardening mode
triple_redundancy: boolEnable triple modular redundancy for critical metadata
post_quantum_signing: boolEnable ML-KEM post-quantum signatures
Implementations§
Source§impl QdbConfig
impl QdbConfig
Sourcepub fn space_hardened() -> Self
pub fn space_hardened() -> Self
Create a space-hardened configuration
Sourcepub fn max_protection() -> Self
pub fn max_protection() -> Self
Create a maximum protection configuration
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QdbConfig
impl RefUnwindSafe for QdbConfig
impl Send for QdbConfig
impl Sync for QdbConfig
impl Unpin for QdbConfig
impl UnwindSafe for QdbConfig
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