pub struct RTCIceCandidateInit {
pub candidate: String,
pub sdp_mid: Option<String>,
pub sdp_mline_index: Option<u16>,
pub username_fragment: Option<String>,
pub url: Option<String>,
}Expand description
ICECandidateInit is used to serialize ice candidates
Fields§
§candidate: StringThe candidate-attribute string as defined in RFC 5245.
sdp_mid: Option<String>The identifier of the “m=” section in the SDP that this candidate is associated with.
sdp_mline_index: Option<u16>The index of the “m=” section in the SDP that this candidate is associated with.
username_fragment: Option<String>The username fragment used for ICE authentication.
url: Option<String>The URL of the STUN or TURN server used to gather this candidate.
Per W3C spec, this field is only meaningful for local candidates of type
“srflx” (server reflexive) or “relay”. For other candidate types, this
field should be None.
This is a sansio extension - since gathering happens externally in the sansio architecture, the application must provide this URL when adding local candidates that were gathered from STUN/TURN servers.
Trait Implementations§
Source§impl Clone for RTCIceCandidateInit
impl Clone for RTCIceCandidateInit
Source§fn clone(&self) -> RTCIceCandidateInit
fn clone(&self) -> RTCIceCandidateInit
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RTCIceCandidateInit
impl Debug for RTCIceCandidateInit
Source§impl Default for RTCIceCandidateInit
impl Default for RTCIceCandidateInit
Source§fn default() -> RTCIceCandidateInit
fn default() -> RTCIceCandidateInit
Source§impl<'de> Deserialize<'de> for RTCIceCandidateInit
impl<'de> Deserialize<'de> for RTCIceCandidateInit
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>,
impl Eq for RTCIceCandidateInit
Source§impl PartialEq for RTCIceCandidateInit
impl PartialEq for RTCIceCandidateInit
Source§impl Serialize for RTCIceCandidateInit
impl Serialize for RTCIceCandidateInit
impl StructuralPartialEq for RTCIceCandidateInit
Auto Trait Implementations§
impl Freeze for RTCIceCandidateInit
impl RefUnwindSafe for RTCIceCandidateInit
impl Send for RTCIceCandidateInit
impl Sync for RTCIceCandidateInit
impl Unpin for RTCIceCandidateInit
impl UnsafeUnpin for RTCIceCandidateInit
impl UnwindSafe for RTCIceCandidateInit
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.