pub struct IceCandidate {
pub addr: SocketAddr,
pub cand_type: CandidateType,
pub priority: u32,
pub foundation: u64,
}Expand description
ICE-lite candidate structure.
Fields§
§addr: SocketAddrSocket address for the candidate.
cand_type: CandidateTypeCandidate type (host/srflx/relay).
priority: u32Priority used for selection heuristics.
foundation: u64Foundation group for candidate correlation.
Trait Implementations§
Source§impl Clone for IceCandidate
impl Clone for IceCandidate
Source§fn clone(&self) -> IceCandidate
fn clone(&self) -> IceCandidate
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 IceCandidate
impl Debug for IceCandidate
Source§impl<'de> Deserialize<'de> for IceCandidate
impl<'de> Deserialize<'de> for IceCandidate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IceCandidate
impl RefUnwindSafe for IceCandidate
impl Send for IceCandidate
impl Sync for IceCandidate
impl Unpin for IceCandidate
impl UnwindSafe for IceCandidate
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