pub struct HealthReport {
pub healthy: usize,
pub total: usize,
pub raw_bytes: u64,
pub output_bytes: u64,
pub buffer_size: usize,
pub sources: Vec<SourceHealth>,
}Expand description
Overall health report for the entropy pool.
Fields§
§healthy: usizeNumber of healthy sources.
total: usizeTotal number of registered sources.
raw_bytes: u64Total raw bytes collected across all sources.
output_bytes: u64Total conditioned output bytes produced.
buffer_size: usizeCurrent internal buffer size in bytes.
sources: Vec<SourceHealth>Per-source health details.
Trait Implementations§
Source§impl Clone for HealthReport
impl Clone for HealthReport
Source§fn clone(&self) -> HealthReport
fn clone(&self) -> HealthReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HealthReport
impl RefUnwindSafe for HealthReport
impl Send for HealthReport
impl Sync for HealthReport
impl Unpin for HealthReport
impl UnwindSafe for HealthReport
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