pub enum StreamCipher {
Salsa20,
}
Expand description
The encryption algorithm for the stream data (e.g. passwords).
Variants§
Salsa20
The Salsa20 stream cipher.
Trait Implementations§
Source§impl Clone for StreamCipher
impl Clone for StreamCipher
Source§fn clone(&self) -> StreamCipher
fn clone(&self) -> StreamCipher
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 StreamCipher
impl Debug for StreamCipher
Source§impl Ord for StreamCipher
impl Ord for StreamCipher
Source§fn cmp(&self, other: &StreamCipher) -> Ordering
fn cmp(&self, other: &StreamCipher) -> 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 StreamCipher
impl PartialEq for StreamCipher
Source§impl PartialOrd for StreamCipher
impl PartialOrd for StreamCipher
impl Eq for StreamCipher
impl StructuralPartialEq for StreamCipher
Auto Trait Implementations§
impl Freeze for StreamCipher
impl RefUnwindSafe for StreamCipher
impl Send for StreamCipher
impl Sync for StreamCipher
impl Unpin for StreamCipher
impl UnwindSafe for StreamCipher
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