pub struct PreemptionBoundarySource;Expand description
Entropy source from kernel scheduler preemption boundary timing.
Trait Implementations§
Source§impl EntropySource for PreemptionBoundarySource
Available on not (macOS and AArch64).
impl EntropySource for PreemptionBoundarySource
Available on not (macOS and AArch64).
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 PreemptionBoundarySource
impl RefUnwindSafe for PreemptionBoundarySource
impl Send for PreemptionBoundarySource
impl Sync for PreemptionBoundarySource
impl Unpin for PreemptionBoundarySource
impl UnsafeUnpin for PreemptionBoundarySource
impl UnwindSafe for PreemptionBoundarySource
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