#[repr(u32)]pub enum SecureEntropy {
General = 0,
EarlyBoot = 1,
}
Expand description
ZBI_TYPE_SECURE_ENTROPY item subtypes (for zbi_header_t.extra)
Variants§
General = 0
Contents are used to seed the kernel’s PRNG.
EarlyBoot = 1
Contents are used by early boot, before the kernel is fully operational.
Trait Implementations§
Source§impl Clone for SecureEntropy
impl Clone for SecureEntropy
Source§fn clone(&self) -> SecureEntropy
fn clone(&self) -> SecureEntropy
Returns a copy 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 SecureEntropy
impl Debug for SecureEntropy
Source§impl PartialEq for SecureEntropy
impl PartialEq for SecureEntropy
impl Copy for SecureEntropy
impl Eq for SecureEntropy
impl IntoBytes for SecureEntropy
impl StructuralPartialEq for SecureEntropy
Auto Trait Implementations§
impl Freeze for SecureEntropy
impl RefUnwindSafe for SecureEntropy
impl Send for SecureEntropy
impl Sync for SecureEntropy
impl Unpin for SecureEntropy
impl UnwindSafe for SecureEntropy
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