pub enum RngOutputKind {
Generic,
AeadNonce12,
Argon2Salt16,
Argon2Salt32,
}Expand description
Purpose of the random output being generated.
Variants§
Generic
Generic random bytes with no fixed length.
AeadNonce12
A 12-byte AEAD nonce.
Argon2Salt16
A 16-byte Argon2 salt.
Argon2Salt32
A 32-byte Argon2 salt.
Trait Implementations§
Source§impl Clone for RngOutputKind
impl Clone for RngOutputKind
Source§fn clone(&self) -> RngOutputKind
fn clone(&self) -> RngOutputKind
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 RngOutputKind
Source§impl Debug for RngOutputKind
impl Debug for RngOutputKind
Source§impl Display for RngOutputKind
impl Display for RngOutputKind
impl Eq for RngOutputKind
Source§impl PartialEq for RngOutputKind
impl PartialEq for RngOutputKind
impl StructuralPartialEq for RngOutputKind
Auto Trait Implementations§
impl Freeze for RngOutputKind
impl RefUnwindSafe for RngOutputKind
impl Send for RngOutputKind
impl Sync for RngOutputKind
impl Unpin for RngOutputKind
impl UnsafeUnpin for RngOutputKind
impl UnwindSafe for RngOutputKind
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