Enum webrtc_ice::state::ConnectionState
source · pub enum ConnectionState {
Unspecified,
New,
Checking,
Connected,
Completed,
Failed,
Disconnected,
Closed,
}
Expand description
An enum showing the state of a ICE Connection List of supported States.
Variants§
Unspecified
New
ICE agent is gathering addresses.
Checking
ICE agent has been given local and remote candidates, and is attempting to find a match.
Connected
ICE agent has a pairing, but is still checking other pairs.
Completed
ICE agent has finished.
Failed
ICE agent never could successfully connect.
Disconnected
ICE agent connected successfully, but has entered a failed state.
Closed
ICE agent has finished and is no longer handling requests.
Trait Implementations§
source§impl Clone for ConnectionState
impl Clone for ConnectionState
source§fn clone(&self) -> ConnectionState
fn clone(&self) -> ConnectionState
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 ConnectionState
impl Debug for ConnectionState
source§impl Default for ConnectionState
impl Default for ConnectionState
source§impl Display for ConnectionState
impl Display for ConnectionState
source§impl From<u8> for ConnectionState
impl From<u8> for ConnectionState
source§impl PartialEq<ConnectionState> for ConnectionState
impl PartialEq<ConnectionState> for ConnectionState
source§fn eq(&self, other: &ConnectionState) -> bool
fn eq(&self, other: &ConnectionState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.