pub struct MachTimingSource;Expand description
Reads the ARM system counter (mach_absolute_time) at sub-nanosecond
resolution with variable micro-workloads between samples. Returns raw
LSBs of timing deltas — no conditioning applied.
Trait Implementations§
Source§impl EntropySource for MachTimingSource
impl EntropySource for MachTimingSource
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 MachTimingSource
impl RefUnwindSafe for MachTimingSource
impl Send for MachTimingSource
impl Sync for MachTimingSource
impl Unpin for MachTimingSource
impl UnsafeUnpin for MachTimingSource
impl UnwindSafe for MachTimingSource
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