pub enum CipherKind {
AES128GCM,
AES256GCM,
AES128GCMSIV,
AES256GCMSIV,
NONE,
UNKNOWN,
}Expand description
Cipher kind current support
Variants§
AES128GCM
👎Deprecated since 0.2.0: Use AES128GCMSIV instead
AES256GCM
👎Deprecated since 0.2.0: Use AES256GCMSIV instead
AES128GCMSIV
AES256GCMSIV
NONE
UNKNOWN
Trait Implementations§
Source§impl Clone for CipherKind
impl Clone for CipherKind
Source§fn clone(&self) -> CipherKind
fn clone(&self) -> CipherKind
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 CipherKind
impl Debug for CipherKind
Source§impl Display for CipherKind
impl Display for CipherKind
Source§impl From<CipherKind> for u8
impl From<CipherKind> for u8
Source§fn from(orig: CipherKind) -> Self
fn from(orig: CipherKind) -> Self
Converts to this type from the input type.
Source§impl From<u8> for CipherKind
impl From<u8> for CipherKind
Source§impl FromStr for CipherKind
impl FromStr for CipherKind
Source§impl Hash for CipherKind
impl Hash for CipherKind
Source§impl PartialEq for CipherKind
impl PartialEq for CipherKind
impl Copy for CipherKind
impl Eq for CipherKind
impl StructuralPartialEq for CipherKind
Auto Trait Implementations§
impl Freeze for CipherKind
impl RefUnwindSafe for CipherKind
impl Send for CipherKind
impl Sync for CipherKind
impl Unpin for CipherKind
impl UnwindSafe for CipherKind
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