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
sourceimpl Clone for RTCIceProtocol
impl Clone for RTCIceProtocol
sourcefn clone(&self) -> RTCIceProtocol
fn clone(&self) -> RTCIceProtocol
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RTCIceProtocol
impl Debug for RTCIceProtocol
sourceimpl Default for RTCIceProtocol
impl Default for RTCIceProtocol
sourceimpl<'de> Deserialize<'de> for RTCIceProtocol
impl<'de> Deserialize<'de> for RTCIceProtocol
sourcefn 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
sourceimpl Display for RTCIceProtocol
impl Display for RTCIceProtocol
sourceimpl From<&str> for RTCIceProtocol
impl From<&str> for RTCIceProtocol
takes a string and converts it to ICEProtocol
sourceimpl PartialEq<RTCIceProtocol> for RTCIceProtocol
impl PartialEq<RTCIceProtocol> for RTCIceProtocol
sourcefn eq(&self, other: &RTCIceProtocol) -> bool
fn eq(&self, other: &RTCIceProtocol) -> bool
sourceimpl Serialize for RTCIceProtocol
impl Serialize for RTCIceProtocol
impl Copy for RTCIceProtocol
impl Eq for RTCIceProtocol
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more