pub enum WireCryptPlugin {
Arc4,
ChaCha,
ChaCha64,
}Expand description
O plugin de criptografia do wire a negociar.
Variants§
Arc4
Cifra de fluxo RC4 (Arc4).
ChaCha
ChaCha20 com nonce de 96 bits e contador de 32 bits (IETF).
ChaCha64
ChaCha20 com nonce de 64 bits e contador de 64 bits (DJB original).
Implementations§
Trait Implementations§
Source§impl Clone for WireCryptPlugin
impl Clone for WireCryptPlugin
Source§fn clone(&self) -> WireCryptPlugin
fn clone(&self) -> WireCryptPlugin
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 WireCryptPlugin
Source§impl Debug for WireCryptPlugin
impl Debug for WireCryptPlugin
impl Eq for WireCryptPlugin
Source§impl PartialEq for WireCryptPlugin
impl PartialEq for WireCryptPlugin
Source§fn eq(&self, other: &WireCryptPlugin) -> bool
fn eq(&self, other: &WireCryptPlugin) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WireCryptPlugin
Auto Trait Implementations§
impl Freeze for WireCryptPlugin
impl RefUnwindSafe for WireCryptPlugin
impl Send for WireCryptPlugin
impl Sync for WireCryptPlugin
impl Unpin for WireCryptPlugin
impl UnsafeUnpin for WireCryptPlugin
impl UnwindSafe for WireCryptPlugin
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