[−][src]Struct xmpp_parsers::jingle_ice_udp::Candidate
A candidate for an ICE-UDP session.
Fields
component: u8
A Component ID as defined in ICE-CORE.
foundation: u8
A Foundation as defined in ICE-CORE.
generation: u8
An index, starting at 0, that enables the parties to keep track of updates to the candidate throughout the life of the session.
id: String
A unique identifier for the candidate.
ip: IpAddr
The Internet Protocol (IP) address for the candidate transport mechanism; this can be either an IPv4 address or an IPv6 address.
network: u8
An index, starting at 0, referencing which network this candidate is on for a given peer.
port: u16
The port at the candidate IP address.
priority: u32
A Priority as defined in ICE-CORE.
protocol: String
The protocol to be used. The only value defined by this specification is "udp".
rel_addr: Option<IpAddr>
A related address as defined in ICE-CORE.
rel_port: Option<u16>
A related port as defined in ICE-CORE.
type_: Type
A Candidate Type as defined in ICE-CORE.
Trait Implementations
impl From<Candidate> for Element
[src]
impl Clone for Candidate
[src]
fn clone(&self) -> Candidate
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Candidate
[src]
impl TryFrom<Element> for Candidate
[src]
Auto Trait Implementations
impl Send for Candidate
impl Unpin for Candidate
impl Sync for Candidate
impl UnwindSafe for Candidate
impl RefUnwindSafe for Candidate
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> IntoElements for T where
T: Into<Element>,
[src]
T: Into<Element>,
fn into_elements(self, emitter: &mut ElementEmitter)
[src]
impl<T> Same<T> for T
type Output = T
Should always be Self