#[non_exhaustive]pub enum AlgorithmId {
Aes128,
Aes256,
}
Expand description
Cipher algorithm identifier.
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 AlgorithmId
impl Clone for AlgorithmId
Source§fn clone(&self) -> AlgorithmId
fn clone(&self) -> AlgorithmId
Returns a copy 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 AlgorithmId
impl Debug for AlgorithmId
Source§impl PartialEq for AlgorithmId
impl PartialEq for AlgorithmId
impl Copy for AlgorithmId
impl Eq for AlgorithmId
impl StructuralPartialEq for AlgorithmId
Auto Trait Implementations§
impl Freeze for AlgorithmId
impl RefUnwindSafe for AlgorithmId
impl Send for AlgorithmId
impl Sync for AlgorithmId
impl Unpin for AlgorithmId
impl UnwindSafe for AlgorithmId
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