Enum snow::params::Token [−][src]
pub enum Token { E, S, Dhee, Dhes, Dhse, Dhss, Psk(u8), }
The tokens which describe message patterns.
See: http://noiseprotocol.org/noise.html#handshake-patterns
Variants
E
S
Dhee
Dhes
Dhse
Dhss
Psk(u8)
Trait Implementations
impl Copy for Token
[src]
impl Copy for Token
impl Clone for Token
[src]
impl Clone for Token
fn clone(&self) -> Token
[src]
fn clone(&self) -> Token
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 PartialEq for Token
[src]
impl PartialEq for Token
fn eq(&self, other: &Token) -> bool
[src]
fn eq(&self, other: &Token) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Token) -> bool
[src]
fn ne(&self, other: &Token) -> bool
This method tests for !=
.
impl Debug for Token
[src]
impl Debug for Token