pub enum CandidateKind {
Host,
PeerReflexive,
ServerReflexive,
Relayed,
}
Expand description
Type of candidate.
Variants§
Host
Host (local network interface)
PeerReflexive
Prflx (Peer reflexive)
ServerReflexive
Srflx (STUN)
Relayed
Relay (TURN)
Trait Implementations§
Source§impl Clone for CandidateKind
impl Clone for CandidateKind
Source§fn clone(&self) -> CandidateKind
fn clone(&self) -> CandidateKind
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 CandidateKind
impl Debug for CandidateKind
Source§impl Display for CandidateKind
impl Display for CandidateKind
Source§impl Hash for CandidateKind
impl Hash for CandidateKind
Source§impl PartialEq for CandidateKind
impl PartialEq for CandidateKind
impl Copy for CandidateKind
impl Eq for CandidateKind
impl StructuralPartialEq for CandidateKind
Auto Trait Implementations§
impl Freeze for CandidateKind
impl RefUnwindSafe for CandidateKind
impl Send for CandidateKind
impl Sync for CandidateKind
impl Unpin for CandidateKind
impl UnwindSafe for CandidateKind
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