Enum webrtc::ice_transport::ice_protocol::RTCIceProtocol
source · pub enum RTCIceProtocol {
Unspecified,
Udp,
Tcp,
}
Expand description
ICEProtocol indicates the transport protocol type that is used in the ice.URL structure.
Variants§
Unspecified
Udp
UDP indicates the URL uses a UDP transport.
Tcp
TCP indicates the URL uses a TCP transport.
Trait Implementations§
source§impl Clone for RTCIceProtocol
impl Clone for RTCIceProtocol
source§fn clone(&self) -> RTCIceProtocol
fn clone(&self) -> RTCIceProtocol
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 RTCIceProtocol
impl Debug for RTCIceProtocol
source§impl Default for RTCIceProtocol
impl Default for RTCIceProtocol
source§fn default() -> RTCIceProtocol
fn default() -> RTCIceProtocol
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RTCIceProtocol
impl<'de> Deserialize<'de> for RTCIceProtocol
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 Display for RTCIceProtocol
impl Display for RTCIceProtocol
source§impl From<&str> for RTCIceProtocol
impl From<&str> for RTCIceProtocol
takes a string and converts it to ICEProtocol
source§impl PartialEq for RTCIceProtocol
impl PartialEq for RTCIceProtocol
source§fn eq(&self, other: &RTCIceProtocol) -> bool
fn eq(&self, other: &RTCIceProtocol) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RTCIceProtocol
impl Serialize for RTCIceProtocol
impl Copy for RTCIceProtocol
impl Eq for RTCIceProtocol
impl StructuralPartialEq for RTCIceProtocol
Auto Trait Implementations§
impl RefUnwindSafe for RTCIceProtocol
impl Send for RTCIceProtocol
impl Sync for RTCIceProtocol
impl Unpin for RTCIceProtocol
impl UnwindSafe for RTCIceProtocol
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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
Mutably borrows from an owned value. Read more