pub enum P2PConnectionState {
Disconnected,
Connecting,
GatheringCandidates,
Connected,
Failed,
Closed,
}Expand description
P2P connection state
Variants§
Disconnected
Initial state, not connected
Connecting
Signaling in progress
GatheringCandidates
ICE candidates being exchanged
Connected
WebRTC connection established
Failed
Connection failed
Closed
Connection closed
Trait Implementations§
Source§impl Clone for P2PConnectionState
impl Clone for P2PConnectionState
Source§fn clone(&self) -> P2PConnectionState
fn clone(&self) -> P2PConnectionState
Returns a duplicate 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 P2PConnectionState
impl Debug for P2PConnectionState
Source§impl PartialEq for P2PConnectionState
impl PartialEq for P2PConnectionState
impl Copy for P2PConnectionState
impl Eq for P2PConnectionState
impl StructuralPartialEq for P2PConnectionState
Auto Trait Implementations§
impl Freeze for P2PConnectionState
impl RefUnwindSafe for P2PConnectionState
impl Send for P2PConnectionState
impl Sync for P2PConnectionState
impl Unpin for P2PConnectionState
impl UnwindSafe for P2PConnectionState
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