Enum fcp_cryptoauth::connection_state::ConnectionState
[−]
[src]
pub enum ConnectionState { Uninitialized, Handshake, Established, }
Used to report the state of the connection at a given time.
Variants
Uninitialized
No packet has been sent or received yet.
Handshake
We are in the handshake phase. wrap_message
will drop messages.
Established
We are in the normal phase.
Trait Implementations
impl Eq for ConnectionState
[src]
impl PartialEq for ConnectionState
[src]
fn eq(&self, __arg_0: &ConnectionState) -> 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
This method tests for !=
.
impl Clone for ConnectionState
[src]
fn clone(&self) -> ConnectionState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ConnectionState
[src]
impl<'a> From<&'a SessionState> for ConnectionState
[src]
fn from(ss: &SessionState) -> ConnectionState
Performs the conversion.