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
sourceimpl Clone for ConnectionState
impl Clone for ConnectionState
sourcefn clone(&self) -> ConnectionState
fn clone(&self) -> ConnectionState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ConnectionState
impl Debug for ConnectionState
sourceimpl Default for ConnectionState
impl Default for ConnectionState
sourceimpl Display for ConnectionState
impl Display for ConnectionState
sourceimpl From<u8> for ConnectionState
impl From<u8> for ConnectionState
sourceimpl PartialEq<ConnectionState> for ConnectionState
impl PartialEq<ConnectionState> for ConnectionState
impl Copy for ConnectionState
impl StructuralPartialEq for ConnectionState
Auto Trait Implementations
impl RefUnwindSafe for ConnectionState
impl Send for ConnectionState
impl Sync for ConnectionState
impl Unpin for ConnectionState
impl UnwindSafe for ConnectionState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more