pub enum KnownProtocol {
Udp,
Tcp,
}
Expand description
Known protocols used in the WebRTC.
Variants§
Trait Implementations§
source§impl Clone for KnownProtocol
impl Clone for KnownProtocol
source§fn clone(&self) -> KnownProtocol
fn clone(&self) -> KnownProtocol
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 KnownProtocol
impl Debug for KnownProtocol
source§impl<'de> Deserialize<'de> for KnownProtocol
impl<'de> Deserialize<'de> for KnownProtocol
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 KnownProtocol
impl Hash for KnownProtocol
source§impl PartialEq<KnownProtocol> for KnownProtocol
impl PartialEq<KnownProtocol> for KnownProtocol
source§fn eq(&self, other: &KnownProtocol) -> bool
fn eq(&self, other: &KnownProtocol) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for KnownProtocol
impl Serialize for KnownProtocol
impl Copy for KnownProtocol
impl Eq for KnownProtocol
impl StructuralEq for KnownProtocol
impl StructuralPartialEq for KnownProtocol
Auto Trait Implementations§
impl RefUnwindSafe for KnownProtocol
impl Send for KnownProtocol
impl Sync for KnownProtocol
impl Unpin for KnownProtocol
impl UnwindSafe for KnownProtocol
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