Enum sse_client::State[][src]

pub enum State {
    Connecting,
    Open,
    Closed,
}

Client state

Variants

State when trying to connect or reconnect to stream.

Stream is open.

State when connection is closed and client won't try to reconnect.

Trait Implementations

impl Debug for State
[src]

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for State

impl Sync for State