#[repr(transparent)]pub struct MiscCfg(pub u32);Expand description
no description available
Tuple Fields§
§0: u32Implementations§
Source§impl MiscCfg
impl MiscCfg
Sourcepub const fn aes_reseed(&self) -> bool
pub const fn aes_reseed(&self) -> bool
If set, ENCRYPTED_NUMBER generation becomes predictable, provided all secrets and current internal state are known: independant from entropy source.
Sourcepub const fn set_aes_reseed(&mut self, val: bool)
pub const fn set_aes_reseed(&mut self, val: bool)
If set, ENCRYPTED_NUMBER generation becomes predictable, provided all secrets and current internal state are known: independant from entropy source.
Sourcepub const fn aes_dt_cfg(&self) -> bool
pub const fn aes_dt_cfg(&self) -> bool
Set this bit to re-seed AES.
Sourcepub const fn set_aes_dt_cfg(&mut self, val: bool)
pub const fn set_aes_dt_cfg(&mut self, val: bool)
Set this bit to re-seed AES.
Trait Implementations§
impl Copy for MiscCfg
impl Eq for MiscCfg
impl StructuralPartialEq for MiscCfg
Auto Trait Implementations§
impl Freeze for MiscCfg
impl RefUnwindSafe for MiscCfg
impl Send for MiscCfg
impl Sync for MiscCfg
impl Unpin for MiscCfg
impl UnwindSafe for MiscCfg
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