pub enum EncryptionState {
Disabled,
Enabled {
encrypted_data: bool,
},
}Expand description
Encryption state for a packet
Variants§
Trait Implementations§
Source§impl Clone for EncryptionState
impl Clone for EncryptionState
Source§fn clone(&self) -> EncryptionState
fn clone(&self) -> EncryptionState
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 EncryptionState
impl Debug for EncryptionState
Source§impl PartialEq for EncryptionState
impl PartialEq for EncryptionState
impl StructuralPartialEq for EncryptionState
Auto Trait Implementations§
impl Freeze for EncryptionState
impl RefUnwindSafe for EncryptionState
impl Send for EncryptionState
impl Sync for EncryptionState
impl Unpin for EncryptionState
impl UnwindSafe for EncryptionState
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