Enum RngConfig3
#[repr(u8)]pub enum RngConfig3 {
Show 16 variants
ConfigB = 0,
_RESERVED_1 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
ConfigA = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}Variants§
ConfigB = 0
Recommended value for config B (not NIST certifiable)
_RESERVED_1 = 1
_RESERVED_2 = 2
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
ConfigA = 13
Recommended value for config A (NIST certifiable)
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
§impl RngConfig3
impl RngConfig3
pub const fn from_bits(val: u8) -> RngConfig3
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for RngConfig3
impl Clone for RngConfig3
§fn clone(&self) -> RngConfig3
fn clone(&self) -> RngConfig3
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RngConfig3
§impl Debug for RngConfig3
impl Debug for RngConfig3
impl Eq for RngConfig3
§impl From<RngConfig3> for u8
impl From<RngConfig3> for u8
§fn from(val: RngConfig3) -> u8
fn from(val: RngConfig3) -> u8
Converts to this type from the input type.
§impl From<u8> for RngConfig3
impl From<u8> for RngConfig3
§fn from(val: u8) -> RngConfig3
fn from(val: u8) -> RngConfig3
Converts to this type from the input type.
§impl Ord for RngConfig3
impl Ord for RngConfig3
§fn cmp(&self, other: &RngConfig3) -> Ordering
fn cmp(&self, other: &RngConfig3) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for RngConfig3
impl PartialEq for RngConfig3
§impl PartialOrd for RngConfig3
impl PartialOrd for RngConfig3
impl StructuralPartialEq for RngConfig3
Auto Trait Implementations§
impl Freeze for RngConfig3
impl RefUnwindSafe for RngConfig3
impl Send for RngConfig3
impl Sync for RngConfig3
impl Unpin for RngConfig3
impl UnsafeUnpin for RngConfig3
impl UnwindSafe for RngConfig3
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