pub struct KernelRandom {
pub entropy_available: Option<u64>,
pub pool_size: Option<u64>,
pub urandom_min_reseed_secs: Option<u64>,
pub write_wakeup_threshold: Option<u64>,
pub read_wakeup_threshold: Option<u64>,
}Expand description
KernelRandom contains information about to the kernel’s random number generator
Fields§
§entropy_available: Option<u64>§pool_size: Option<u64>§urandom_min_reseed_secs: Option<u64>§write_wakeup_threshold: Option<u64>§read_wakeup_threshold: Option<u64>Trait Implementations§
Source§impl Clone for KernelRandom
impl Clone for KernelRandom
Source§fn clone(&self) -> KernelRandom
fn clone(&self) -> KernelRandom
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KernelRandom
impl Debug for KernelRandom
Source§impl Default for KernelRandom
impl Default for KernelRandom
Source§fn default() -> KernelRandom
fn default() -> KernelRandom
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KernelRandom
impl RefUnwindSafe for KernelRandom
impl Send for KernelRandom
impl Sync for KernelRandom
impl Unpin for KernelRandom
impl UnwindSafe for KernelRandom
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