#[repr(C)]pub enum ProtocolEncryptionCipher {
Aes128 = 0,
Aes256 = 1,
EndMarker = 2,
}Variants§
Trait Implementations§
Source§impl Clone for ProtocolEncryptionCipher
impl Clone for ProtocolEncryptionCipher
Source§fn clone(&self) -> ProtocolEncryptionCipher
fn clone(&self) -> ProtocolEncryptionCipher
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 ProtocolEncryptionCipher
Source§impl Debug for ProtocolEncryptionCipher
impl Debug for ProtocolEncryptionCipher
impl Eq for ProtocolEncryptionCipher
Source§impl PartialEq for ProtocolEncryptionCipher
impl PartialEq for ProtocolEncryptionCipher
Source§fn eq(&self, other: &ProtocolEncryptionCipher) -> bool
fn eq(&self, other: &ProtocolEncryptionCipher) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProtocolEncryptionCipher
Auto Trait Implementations§
impl Freeze for ProtocolEncryptionCipher
impl RefUnwindSafe for ProtocolEncryptionCipher
impl Send for ProtocolEncryptionCipher
impl Sync for ProtocolEncryptionCipher
impl Unpin for ProtocolEncryptionCipher
impl UnsafeUnpin for ProtocolEncryptionCipher
impl UnwindSafe for ProtocolEncryptionCipher
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