#[repr(C)]pub enum ComponentConnectionState {
New = 0,
Connecting = 1,
Connected = 2,
Failed = 3,
}
Expand description
The state of a component
Variants§
New = 0
Component is in initial state and no connectivity checks are in progress.
Connecting = 1
Connectivity checks are in progress for this candidate
Connected = 2
A CandidatePair
has been selected for this component
Failed = 3
No connection could be found for this Component
Trait Implementations§
Source§impl Clone for ComponentConnectionState
impl Clone for ComponentConnectionState
Source§fn clone(&self) -> ComponentConnectionState
fn clone(&self) -> ComponentConnectionState
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 ComponentConnectionState
impl Debug for ComponentConnectionState
Source§impl PartialEq for ComponentConnectionState
impl PartialEq for ComponentConnectionState
impl Copy for ComponentConnectionState
impl Eq for ComponentConnectionState
impl StructuralPartialEq for ComponentConnectionState
Auto Trait Implementations§
impl Freeze for ComponentConnectionState
impl RefUnwindSafe for ComponentConnectionState
impl Send for ComponentConnectionState
impl Sync for ComponentConnectionState
impl Unpin for ComponentConnectionState
impl UnwindSafe for ComponentConnectionState
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