pub struct MachContinuousTimingSource;Expand description
Entropy source from mach_continuous_time() kernel path timing.
Trait Implementations§
Source§impl EntropySource for MachContinuousTimingSource
Available on non-macOS only.
impl EntropySource for MachContinuousTimingSource
Available on non-macOS only.
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, _: usize) -> Vec<u8> ⓘ
fn collect(&self, _: usize) -> Vec<u8> ⓘ
Collect raw entropy samples. Returns a
Vec<u8> of up to n_samples bytes.Auto Trait Implementations§
impl Freeze for MachContinuousTimingSource
impl RefUnwindSafe for MachContinuousTimingSource
impl Send for MachContinuousTimingSource
impl Sync for MachContinuousTimingSource
impl Unpin for MachContinuousTimingSource
impl UnsafeUnpin for MachContinuousTimingSource
impl UnwindSafe for MachContinuousTimingSource
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