pub trait CandidateApi: CandidateAsC {
// Provided methods
fn component_id(&self) -> usize { ... }
fn candidate_type(&self) -> CandidateType { ... }
fn transport(&self) -> TransportType { ... }
fn foundation(&self) -> String { ... }
fn priority(&self) -> u32 { ... }
fn address(&self) -> Address { ... }
fn base_address(&self) -> Address { ... }
fn related_address(&self) -> Option<Address> { ... }
fn tcp_type(&self) -> TcpType { ... }
}Expand description
ICE candidate.
Provided Methods§
Sourcefn component_id(&self) -> usize
fn component_id(&self) -> usize
The component
Sourcefn candidate_type(&self) -> CandidateType
fn candidate_type(&self) -> CandidateType
The type of the Candidate
Sourcefn transport(&self) -> TransportType
fn transport(&self) -> TransportType
The network transport
Sourcefn foundation(&self) -> String
fn foundation(&self) -> String
The (unique) foundation
Sourcefn base_address(&self) -> Address
fn base_address(&self) -> Address
The address to send from
Any related address that generated this candidate, e.g. STUN/TURN server