#[non_exhaustive]pub enum StreamCipherAlgorithm {
Aes128Ctr,
Aes256Ctr,
}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.
Trait Implementations§
Source§impl Clone for StreamCipherAlgorithm
impl Clone for StreamCipherAlgorithm
Source§fn clone(&self) -> StreamCipherAlgorithm
fn clone(&self) -> StreamCipherAlgorithm
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 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 Freeze 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