Enum wasm_sockets::ConnectionStatus
source · pub enum ConnectionStatus {
Connecting,
Connected,
Error,
Disconnected,
}Variants§
Connecting
Connecting to a server
Connected
Connected to a server
Error
Disconnected from a server due to an error
Disconnected
Disconnected from a server without an error
Trait Implementations§
source§impl Clone for ConnectionStatus
impl Clone for ConnectionStatus
source§fn clone(&self) -> ConnectionStatus
fn clone(&self) -> ConnectionStatus
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 more