#[repr(u8)]pub enum EncryptionType {
Unencrypted = 0,
ChaCha20Poly1305 = 1,
Aes256Gcm = 2,
}Variants§
Trait Implementations§
Source§impl Clone for EncryptionType
impl Clone for EncryptionType
impl Copy for EncryptionType
Source§impl Debug for EncryptionType
impl Debug for EncryptionType
impl Eq for EncryptionType
Source§impl From<EncryptionType> for u8
impl From<EncryptionType> for u8
Source§fn from(value: EncryptionType) -> Self
fn from(value: EncryptionType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EncryptionType
impl PartialEq for EncryptionType
impl StructuralPartialEq for EncryptionType
Auto Trait Implementations§
impl Freeze for EncryptionType
impl RefUnwindSafe for EncryptionType
impl Send for EncryptionType
impl Sync for EncryptionType
impl Unpin for EncryptionType
impl UnsafeUnpin for EncryptionType
impl UnwindSafe for EncryptionType
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