Enum hiirc::ConnectionStatus [] [src]

pub enum ConnectionStatus {
    Closed(&'static str),
    Connected,
    Disconnected,
    Reconnecting,
}

Status of the connection.

Variants

Closed(&'static str)

Connection was closed.

Connected

Connection is alive.

Disconnected

Connection was dropped.

Reconnecting

Attempting to reconnect.

Trait Implementations

impl Debug for ConnectionStatus
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for ConnectionStatus
[src]

impl Clone for ConnectionStatus
[src]

fn clone(&self) -> ConnectionStatus

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