Struct mediasoup_sys::fbs::web_rtc_transport::IceCandidate
source · pub struct IceCandidate {
pub foundation: String,
pub priority: u32,
pub address: String,
pub protocol: Protocol,
pub port: u16,
pub type_: IceCandidateType,
pub tcp_type: Option<IceCandidateTcpType>,
}
Expand description
The table IceCandidate
in the namespace FBS.WebRtcTransport
Generated from these locations:
- Table
IceCandidate
in the filefbs/webRtcTransport.fbs:86
Fields§
§foundation: String
The field foundation
in the table IceCandidate
priority: u32
The field priority
in the table IceCandidate
address: String
The field address
in the table IceCandidate
protocol: Protocol
The field protocol
in the table IceCandidate
port: u16
The field port
in the table IceCandidate
type_: IceCandidateType
The field type
in the table IceCandidate
tcp_type: Option<IceCandidateTcpType>
The field tcp_type
in the table IceCandidate
Implementations§
source§impl IceCandidate
impl IceCandidate
sourcepub fn builder() -> IceCandidateBuilder<()>
pub fn builder() -> IceCandidateBuilder<()>
Creates a IceCandidateBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_foundation: impl WriteAs<Offset<str>>, field_priority: impl WriteAsDefault<u32, u32>, field_address: impl WriteAs<Offset<str>>, field_protocol: impl WriteAsDefault<Protocol, Protocol>, field_port: impl WriteAsDefault<u16, u16>, field_type_: impl WriteAsDefault<IceCandidateType, IceCandidateType>, field_tcp_type: impl WriteAsOptional<IceCandidateTcpType> ) -> Offset<Self>
Trait Implementations§
source§impl Clone for IceCandidate
impl Clone for IceCandidate
source§fn clone(&self) -> IceCandidate
fn clone(&self) -> IceCandidate
Returns a copy 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
source§impl Hash for IceCandidate
impl Hash for IceCandidate
source§impl Ord for IceCandidate
impl Ord for IceCandidate
source§fn cmp(&self, other: &IceCandidate) -> Ordering
fn cmp(&self, other: &IceCandidate) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for IceCandidate
impl PartialEq for IceCandidate
source§fn eq(&self, other: &IceCandidate) -> bool
fn eq(&self, other: &IceCandidate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for IceCandidate
impl PartialOrd for IceCandidate
source§fn partial_cmp(&self, other: &IceCandidate) -> Option<Ordering>
fn partial_cmp(&self, other: &IceCandidate) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for IceCandidate
impl Serialize for IceCandidate
source§impl<'a> TryFrom<IceCandidateRef<'a>> for IceCandidate
impl<'a> TryFrom<IceCandidateRef<'a>> for IceCandidate
impl Eq for IceCandidate
impl StructuralPartialEq for IceCandidate
impl VectorWrite<Offset<IceCandidate>> for IceCandidate
impl WriteAs<Offset<IceCandidate>> for IceCandidate
impl WriteAsOffset<IceCandidate> for IceCandidate
impl<T0: WriteAs<Offset<str>>, T1: WriteAsDefault<u32, u32>, T2: WriteAs<Offset<str>>, T3: WriteAsDefault<Protocol, Protocol>, T4: WriteAsDefault<u16, u16>, T5: WriteAsDefault<IceCandidateType, IceCandidateType>, T6: WriteAsOptional<IceCandidateTcpType>> WriteAsOffset<IceCandidate> for IceCandidateBuilder<(T0, T1, T2, T3, T4, T5, T6)>
impl WriteAsOptional<Offset<IceCandidate>> for IceCandidate
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more