Enum snow::params::CipherChoice [−][src]
pub enum CipherChoice { ChaChaPoly, AESGCM, }
One of ChaChaPoly
or AESGCM
, per the spec.
Variants
ChaChaPoly
AESGCM
Trait Implementations
impl PartialEq for CipherChoice
[src]
impl PartialEq for CipherChoice
fn eq(&self, other: &CipherChoice) -> bool
[src]
fn eq(&self, other: &CipherChoice) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Copy for CipherChoice
[src]
impl Copy for CipherChoice
impl Clone for CipherChoice
[src]
impl Clone for CipherChoice
fn clone(&self) -> CipherChoice
[src]
fn clone(&self) -> CipherChoice
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for CipherChoice
[src]
impl Debug for CipherChoice
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl FromStr for CipherChoice
[src]
impl FromStr for CipherChoice
Auto Trait Implementations
impl Send for CipherChoice
impl Send for CipherChoice
impl Sync for CipherChoice
impl Sync for CipherChoice