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

No packet has been sent or received yet.

We are in the handshake phase. wrap_message will drop messages.

We are in the normal phase.

Trait Implementations

impl Eq for ConnectionState
[src]

impl PartialEq for ConnectionState
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for ConnectionState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ConnectionState
[src]

Formats the value using the given formatter.

impl<'a> From<&'a SessionState> for ConnectionState
[src]

Performs the conversion.