Enum sse_client::State [−][src]
pub enum State { Connecting, Open, Closed, }
Client state
Variants
Connecting
State when trying to connect or reconnect to stream.
Open
Stream is open.
Closed
State when connection is closed and client won't try to reconnect.
Trait Implementations
impl Debug for State
[src]
impl Debug for State
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for State
[src]
impl PartialEq for State
fn eq(&self, other: &State) -> bool
[src]
fn eq(&self, other: &State) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Clone for State
[src]
impl Clone for State