Enum snow::params::DHChoice [−][src]
pub enum DHChoice { Curve25519, Ed448, }
One of 25519
or 448
, per the spec.
Variants
Curve25519
Ed448
Trait Implementations
impl PartialEq for DHChoice
[src]
impl PartialEq for DHChoice
fn eq(&self, other: &DHChoice) -> bool
[src]
fn eq(&self, other: &DHChoice) -> 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 DHChoice
[src]
impl Copy for DHChoice
impl Clone for DHChoice
[src]
impl Clone for DHChoice
fn clone(&self) -> DHChoice
[src]
fn clone(&self) -> DHChoice
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 DHChoice
[src]
impl Debug for DHChoice
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 DHChoice
[src]
impl FromStr for DHChoice