Enum libwhisper::session::SessionState
[−]
[src]
pub enum SessionState { Fresh, Initiated, Ready, Error, }
Enum representing session state.
Variants
Fresh
Session has been created, but handshake isn't initiated yet.
Initiated
This state means that handshake has started.
Ready
This state means that session is established and messages can be sent both ways.
Error
This state means that session established, but can't be used at the time.
Trait Implementations
impl Debug for SessionState
[src]
impl Clone for SessionState
[src]
fn clone(&self) -> SessionState
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for SessionState
[src]
fn eq(&self, __arg_0: &SessionState) -> bool
[src]
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]
This method tests for !=
.