Enum exar_server::State [] [src]

pub enum State {
    Idle(Arc<Mutex<Database>>),
    Connected(Connection),
}

A list specifying categories of connection state.

Variants

Idle(Arc<Mutex<Database>>)

The connection is idle and awaiting a Connect message.

Connected(Connection)

The connection has been established.

Trait Implementations

impl Clone for State
[src]

fn clone(&self) -> State

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 ToString for State
[src]

fn to_string(&self) -> String

Converts the given value to a String. Read more