pub enum DtStreamType {
ChaCha8,
ChaCha12,
ChaCha20,
Crc,
}
Expand description
Random data stream algorithm type.
Variants§
ChaCha8
Very weak version of the ChaCha random number generator.
ChaCha12
Weak version of the ChaCha random number generator.
ChaCha20
Cryptographically secure version of the ChaCha random number generator.
Crc
Very fast by cryptographically unsecure CRC based random number generator.
Trait Implementations§
Source§impl Clone for DtStreamType
impl Clone for DtStreamType
Source§fn clone(&self) -> DtStreamType
fn clone(&self) -> DtStreamType
Returns a duplicate 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 DtStreamType
impl Debug for DtStreamType
Source§impl Default for DtStreamType
impl Default for DtStreamType
Source§fn default() -> DtStreamType
fn default() -> DtStreamType
Returns the “default value” for a type. Read more
Source§impl PartialEq for DtStreamType
impl PartialEq for DtStreamType
impl Copy for DtStreamType
impl Eq for DtStreamType
impl StructuralPartialEq for DtStreamType
Auto Trait Implementations§
impl Freeze for DtStreamType
impl RefUnwindSafe for DtStreamType
impl Send for DtStreamType
impl Sync for DtStreamType
impl Unpin for DtStreamType
impl UnwindSafe for DtStreamType
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