Enum sse_client::State [−][src]
pub enum State {
Connecting,
Open,
Closed,
}Client state
Variants
ConnectingState when trying to connect or reconnect to stream.
OpenStream is open.
ClosedState when connection is closed and client won't try to reconnect.
Trait Implementations
impl Debug for State[src]
impl Debug for Statefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for State[src]
impl PartialEq for Statefn eq(&self, other: &State) -> bool[src]
fn eq(&self, other: &State) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Clone for State[src]
impl Clone for State