Enum bolt_proto::ServerState
source · pub enum ServerState {
Disconnected,
Connected,
Defunct,
Ready,
Streaming,
TxReady,
TxStreaming,
Failed,
Interrupted,
}
Variants§
Trait Implementations§
source§impl Clone for ServerState
impl Clone for ServerState
source§fn clone(&self) -> ServerState
fn clone(&self) -> ServerState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ServerState
impl Debug for ServerState
source§impl PartialEq<ServerState> for ServerState
impl PartialEq<ServerState> for ServerState
source§fn eq(&self, other: &ServerState) -> bool
fn eq(&self, other: &ServerState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.