pub struct Config {
pub enable_pqc: bool,
pub enable_noise_fallback: bool,
pub enable_qrng: bool,
pub enable_qkd: bool,
pub enable_node: bool,
pub enable_validator: bool,
pub enable_ai_agent: bool,
pub nostr_relays: Vec<String>,
pub node_rpc: String,
}Expand description
Configuration for the Quantum Communicator
Fields§
§enable_pqc: boolEnable post-quantum cryptography (default: true)
enable_noise_fallback: boolFall back to Noise protocol for BitChat compat (default: true)
enable_qrng: boolUse hardware QRNG when available (default: true)
enable_qkd: boolUse QKD enhancement when available (default: true)
enable_node: boolRun QuantumHarmony light client (default: true)
enable_validator: boolEnable validator mode (default: false)
enable_ai_agent: boolEnable AI agent features (default: false)
nostr_relays: Vec<String>Nostr relays to connect to
node_rpc: StringQuantumHarmony RPC endpoint
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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