Enum libwhisper::session::SessionState [] [src]

pub enum SessionState {
    Fresh,
    Initiated,
    Ready,
    Error,
}

Enum representing session state.

Variants

Session has been created, but handshake isn't initiated yet.

This state means that handshake has started.

This state means that session is established and messages can be sent both ways.

This state means that session established, but can't be used at the time.

Trait Implementations

impl Debug for SessionState
[src]

[src]

Formats the value using the given formatter.

impl Clone for SessionState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for SessionState
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Copy for SessionState
[src]