pub struct ClockJitterSource;Expand description
Measures timing jitter between two clock readout paths (Instant vs
SystemTime). On platforms where these use the same underlying oscillator,
the entropy comes from variable OS abstraction overhead, cache state, and
interrupt timing — not from independent PLLs.
Trait Implementations§
Source§impl EntropySource for ClockJitterSource
impl EntropySource for ClockJitterSource
Source§fn info(&self) -> &SourceInfo
fn info(&self) -> &SourceInfo
Source metadata.
Source§fn is_available(&self) -> bool
fn is_available(&self) -> bool
Check if this source can operate on the current machine.
Source§fn collect(&self, n_samples: usize) -> Vec<u8> ⓘ
fn collect(&self, n_samples: usize) -> Vec<u8> ⓘ
Collect raw entropy samples. Returns a
Vec<u8> of up to n_samples bytes.Auto Trait Implementations§
impl Freeze for ClockJitterSource
impl RefUnwindSafe for ClockJitterSource
impl Send for ClockJitterSource
impl Sync for ClockJitterSource
impl Unpin for ClockJitterSource
impl UnsafeUnpin for ClockJitterSource
impl UnwindSafe for ClockJitterSource
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