pub enum IceConnectionState {
Failed,
Disconnected,
New,
Checking,
Connected,
}Expand description
State of the ICE agent
Variants§
Failed
The ICE agent has failed to find a valid candidate pair for all components
Disconnected
Checks to ensure that components are still connected failed for at least one component.
This is a less stringent test than Failed and may trigger intermittently and resolve just as spontaneously on
less reliable networks, or during temporary disconnections.
When the problem resolves, the connection may return to the Connected state.
New
The ICE agent is awaiting local & remote ice candidates
Checking
The ICE agent is in the process of checking candidates pairs
Connected
The ICE agent has found a valid pair for all components
Trait Implementations§
Source§impl Clone for IceConnectionState
impl Clone for IceConnectionState
impl Copy for IceConnectionState
Source§impl Debug for IceConnectionState
impl Debug for IceConnectionState
impl Eq for IceConnectionState
Source§impl Ord for IceConnectionState
impl Ord for IceConnectionState
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for IceConnectionState
impl PartialEq for IceConnectionState
Source§impl PartialOrd for IceConnectionState
impl PartialOrd for IceConnectionState
impl StructuralPartialEq for IceConnectionState
Auto Trait Implementations§
impl Freeze for IceConnectionState
impl RefUnwindSafe for IceConnectionState
impl Send for IceConnectionState
impl Sync for IceConnectionState
impl Unpin for IceConnectionState
impl UnsafeUnpin for IceConnectionState
impl UnwindSafe for IceConnectionState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more