pub enum KnownIceServerTransportProtocol {
Udp,
Tcp,
Tls,
}Expand description
Possible types of the transport protocol used between the client and the server, as defined in RFC8656 Section 3.1.
Variants§
Udp
UDP as transport to the server.
Tcp
TCP as transport to the server.
Tls
TLS as transport to the server.
Trait Implementations§
Source§impl Clone for KnownIceServerTransportProtocol
impl Clone for KnownIceServerTransportProtocol
Source§fn clone(&self) -> KnownIceServerTransportProtocol
fn clone(&self) -> KnownIceServerTransportProtocol
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for KnownIceServerTransportProtocol
impl<'de> Deserialize<'de> for KnownIceServerTransportProtocol
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
impl Copy for KnownIceServerTransportProtocol
impl Eq for KnownIceServerTransportProtocol
impl StructuralPartialEq for KnownIceServerTransportProtocol
Auto Trait Implementations§
impl Freeze for KnownIceServerTransportProtocol
impl RefUnwindSafe for KnownIceServerTransportProtocol
impl Send for KnownIceServerTransportProtocol
impl Sync for KnownIceServerTransportProtocol
impl Unpin for KnownIceServerTransportProtocol
impl UnwindSafe for KnownIceServerTransportProtocol
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)