#[repr(transparent)]pub struct RngAlgorithmType(pub Guid);
Expand description
The algorithms listed are optional, not meant to be exhaustive and may be augmented by vendors or other industry standards.
Tuple Fields§
§0: Guid
Implementations§
source§impl RngAlgorithmType
impl RngAlgorithmType
sourcepub const EMPTY_ALGORITHM: RngAlgorithmType = _
pub const EMPTY_ALGORITHM: RngAlgorithmType = _
Indicates a empty algorithm, used to instantiate a buffer
for get_info
sourcepub const ALGORITHM_RAW: RngAlgorithmType = _
pub const ALGORITHM_RAW: RngAlgorithmType = _
The “raw” algorithm, when supported, is intended to provide entropy directly from the source, without it going through some deterministic random bit generator.
sourcepub const ALGORITHM_SP800_90_HASH_256: RngAlgorithmType = _
pub const ALGORITHM_SP800_90_HASH_256: RngAlgorithmType = _
ALGORITHM_SP800_90_HASH_256
sourcepub const ALGORITHM_SP800_90_HMAC_256: RngAlgorithmType = _
pub const ALGORITHM_SP800_90_HMAC_256: RngAlgorithmType = _
ALGORITHM_SP800_90_HMAC_256
sourcepub const ALGORITHM_SP800_90_CTR_256: RngAlgorithmType = _
pub const ALGORITHM_SP800_90_CTR_256: RngAlgorithmType = _
ALGORITHM_SP800_90_CTR_256
sourcepub const ALGORITHM_X9_31_3DES: RngAlgorithmType = _
pub const ALGORITHM_X9_31_3DES: RngAlgorithmType = _
ALGORITHM_X9_31_3DES
sourcepub const ALGORITHM_X9_31_AES: RngAlgorithmType = _
pub const ALGORITHM_X9_31_AES: RngAlgorithmType = _
ALGORITHM_X9_31_AES
Trait Implementations§
source§impl Clone for RngAlgorithmType
impl Clone for RngAlgorithmType
source§fn clone(&self) -> RngAlgorithmType
fn clone(&self) -> RngAlgorithmType
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 RngAlgorithmType
impl Debug for RngAlgorithmType
source§impl Hash for RngAlgorithmType
impl Hash for RngAlgorithmType
source§impl Ord for RngAlgorithmType
impl Ord for RngAlgorithmType
source§fn cmp(&self, other: &RngAlgorithmType) -> Ordering
fn cmp(&self, other: &RngAlgorithmType) -> Ordering
1.21.0 · 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
source§impl PartialEq for RngAlgorithmType
impl PartialEq for RngAlgorithmType
source§impl PartialOrd for RngAlgorithmType
impl PartialOrd for RngAlgorithmType
impl Copy for RngAlgorithmType
impl Eq for RngAlgorithmType
impl StructuralPartialEq for RngAlgorithmType
Auto Trait Implementations§
impl Freeze for RngAlgorithmType
impl RefUnwindSafe for RngAlgorithmType
impl Send for RngAlgorithmType
impl Sync for RngAlgorithmType
impl Unpin for RngAlgorithmType
impl UnwindSafe for RngAlgorithmType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)