pub enum DiscoveryEncryption {
Plaintext,
NetworkIdentity,
}Variants§
Trait Implementations§
Source§impl Clone for DiscoveryEncryption
impl Clone for DiscoveryEncryption
Source§fn clone(&self) -> DiscoveryEncryption
fn clone(&self) -> DiscoveryEncryption
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 moreSource§impl Debug for DiscoveryEncryption
impl Debug for DiscoveryEncryption
Source§impl PartialEq for DiscoveryEncryption
impl PartialEq for DiscoveryEncryption
impl StructuralPartialEq for DiscoveryEncryption
Auto Trait Implementations§
impl Freeze for DiscoveryEncryption
impl RefUnwindSafe for DiscoveryEncryption
impl Send for DiscoveryEncryption
impl Sync for DiscoveryEncryption
impl Unpin for DiscoveryEncryption
impl UnsafeUnpin for DiscoveryEncryption
impl UnwindSafe for DiscoveryEncryption
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