#[non_exhaustive]pub enum BlockCipherAlgorithm {
Aes128,
Aes256,
}Expand description
Single-block encryption 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 BlockCipherAlgorithm
impl Clone for BlockCipherAlgorithm
Source§fn clone(&self) -> BlockCipherAlgorithm
fn clone(&self) -> BlockCipherAlgorithm
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 BlockCipherAlgorithm
Source§impl Debug for BlockCipherAlgorithm
impl Debug for BlockCipherAlgorithm
impl Eq for BlockCipherAlgorithm
Source§impl Hash for BlockCipherAlgorithm
impl Hash for BlockCipherAlgorithm
Source§impl PartialEq for BlockCipherAlgorithm
impl PartialEq for BlockCipherAlgorithm
impl StructuralPartialEq for BlockCipherAlgorithm
Auto Trait Implementations§
impl Freeze for BlockCipherAlgorithm
impl RefUnwindSafe for BlockCipherAlgorithm
impl Send for BlockCipherAlgorithm
impl Sync for BlockCipherAlgorithm
impl Unpin for BlockCipherAlgorithm
impl UnsafeUnpin for BlockCipherAlgorithm
impl UnwindSafe for BlockCipherAlgorithm
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