pub struct CandidatePair {
pub local_candidate: CandidateAddress,
pub remote_candidate: CandidateAddress,
pub priority: u64,
pub state: CandidatePairState,
}
Expand description
A candidate pair for hole punching (ICE-like)
Fields§
§local_candidate: CandidateAddress
Local candidate address
remote_candidate: CandidateAddress
Remote candidate address
priority: u64
Combined priority for this pair
state: CandidatePairState
Current state of this candidate pair
Trait Implementations§
Source§impl Clone for CandidatePair
impl Clone for CandidatePair
Source§fn clone(&self) -> CandidatePair
fn clone(&self) -> CandidatePair
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 moreAuto Trait Implementations§
impl Freeze for CandidatePair
impl RefUnwindSafe for CandidatePair
impl Send for CandidatePair
impl Sync for CandidatePair
impl Unpin for CandidatePair
impl UnwindSafe for CandidatePair
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