Enum stm32_metapac::rng::vals::Nistc
#[repr(u8)]pub enum Nistc {
DEFAULT = 0,
CUSTOM = 1,
}
Variants§
DEFAULT = 0
Hardware default values for NIST compliant RNG. In this configuration per 128-bit output two conditioning loops are performed and 256 bits of noise source are used
CUSTOM = 1
Custom values for NIST compliant RNG
Implementations§
Trait Implementations§
§impl Ord for Nistc
impl Ord for Nistc
§impl PartialOrd for Nistc
impl PartialOrd for Nistc
§fn partial_cmp(&self, other: &Nistc) -> Option<Ordering>
fn partial_cmp(&self, other: &Nistc) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Nistc
impl Eq for Nistc
impl StructuralEq for Nistc
impl StructuralPartialEq for Nistc
Auto Trait Implementations§
impl RefUnwindSafe for Nistc
impl Send for Nistc
impl Sync for Nistc
impl Unpin for Nistc
impl UnwindSafe for Nistc
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