pub struct SourceInfo {
pub name: &'static str,
pub description: &'static str,
pub physics: &'static str,
pub category: SourceCategory,
pub platform: Platform,
pub requirements: &'static [Requirement],
pub entropy_rate_estimate: f64,
pub composite: bool,
pub is_fast: bool,
}Expand description
Metadata about an entropy source.
Each source declares its name, a human-readable description, a physics explanation of how it harvests entropy, its category, platform requirements, and an estimated entropy rate in bits per sample.
Fields§
§name: &'static strUnique identifier (e.g. "clock_jitter").
description: &'static strOne-line human-readable description.
physics: &'static strPhysics explanation of the entropy mechanism.
category: SourceCategorySource category for classification.
platform: PlatformTarget platform.
requirements: &'static [Requirement]Hardware/software requirements beyond the platform.
entropy_rate_estimate: f64Estimated entropy rate in bits per sample.
composite: boolWhether this is a composite source (combines multiple standalone sources).
Composite sources don’t measure a single independent entropy domain. They combine or interleave other sources. The CLI displays them separately from standalone sources.
is_fast: boolWhether this source collects in <2 seconds and is safe for real-time use.
Trait Implementations§
Source§impl Clone for SourceInfo
impl Clone for SourceInfo
Source§fn clone(&self) -> SourceInfo
fn clone(&self) -> SourceInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more