pub struct PageFaultTimingSource;Expand description
Triggers and times minor page faults via mmap/munmap. Page fault
resolution requires TLB lookup, hardware page table walk (up to 4 levels on
ARM64), physical page allocation from the kernel free list, and zero-fill
for security. The timing depends on physical memory fragmentation.
Trait Implementations§
Source§impl EntropySource for PageFaultTimingSource
impl EntropySource for PageFaultTimingSource
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 PageFaultTimingSource
impl RefUnwindSafe for PageFaultTimingSource
impl Send for PageFaultTimingSource
impl Sync for PageFaultTimingSource
impl Unpin for PageFaultTimingSource
impl UnsafeUnpin for PageFaultTimingSource
impl UnwindSafe for PageFaultTimingSource
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