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§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<RTCIceProtocol> for RTCIceProtocol
impl PartialEq<RTCIceProtocol> 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 ==
.