#[non_exhaustive]pub enum StreamCipherAlgorithm {
Aes128Ctr,
Aes256Ctr,
Aes192Ctr,
}Expand description
Stream-cipher algorithms.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Aes128Ctr
AES-128 in counter mode.
Aes256Ctr
AES-256 in counter mode.
Aes192Ctr
AES-192 in counter mode (RFC 6188 AES_192_CM).
Trait Implementations§
Source§impl Clone for StreamCipherAlgorithm
impl Clone for StreamCipherAlgorithm
impl Copy for StreamCipherAlgorithm
Source§impl Debug for StreamCipherAlgorithm
impl Debug for StreamCipherAlgorithm
impl Eq for StreamCipherAlgorithm
Source§impl Hash for StreamCipherAlgorithm
impl Hash for StreamCipherAlgorithm
Source§impl PartialEq for StreamCipherAlgorithm
impl PartialEq for StreamCipherAlgorithm
impl StructuralPartialEq for StreamCipherAlgorithm
Auto Trait Implementations§
impl Forget for StreamCipherAlgorithm
impl Freeze for StreamCipherAlgorithm
impl Move for StreamCipherAlgorithm
impl RefUnwindSafe for StreamCipherAlgorithm
impl Send for StreamCipherAlgorithm
impl Sync for StreamCipherAlgorithm
impl Unpin for StreamCipherAlgorithm
impl UnsafeUnpin for StreamCipherAlgorithm
impl UnwindSafe for StreamCipherAlgorithm
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