pub enum EntropySourceType {
OperatingSystem,
Hardware,
User,
Deterministic,
}Expand description
Entropy source type enumeration
Variants§
OperatingSystem
Operating system entropy source
Hardware
Hardware random number generator
User
User-provided entropy
Deterministic
Deterministic source (for testing)
Trait Implementations§
Source§impl Clone for EntropySourceType
impl Clone for EntropySourceType
Source§fn clone(&self) -> EntropySourceType
fn clone(&self) -> EntropySourceType
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 moreSource§impl Debug for EntropySourceType
impl Debug for EntropySourceType
Source§impl Display for EntropySourceType
impl Display for EntropySourceType
Source§impl Hash for EntropySourceType
impl Hash for EntropySourceType
Source§impl PartialEq for EntropySourceType
impl PartialEq for EntropySourceType
Source§fn eq(&self, other: &EntropySourceType) -> bool
fn eq(&self, other: &EntropySourceType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EntropySourceType
impl Eq for EntropySourceType
impl StructuralPartialEq for EntropySourceType
Auto Trait Implementations§
impl Freeze for EntropySourceType
impl RefUnwindSafe for EntropySourceType
impl Send for EntropySourceType
impl Sync for EntropySourceType
impl Unpin for EntropySourceType
impl UnsafeUnpin for EntropySourceType
impl UnwindSafe for EntropySourceType
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