pub enum RTCIceCredentialType {
Unspecified,
Password,
Oauth,
}
Expand description
ICECredentialType indicates the type of credentials used to connect to an ICE server.
Variants§
Unspecified
Password
ICECredential::Password describes username and password based credentials as described in https://tools.ietf.org/html/rfc5389.
Oauth
ICECredential::Oauth describes token based credential as described in https://tools.ietf.org/html/rfc7635. Not supported in WebRTC 1.0 spec
Trait Implementations§
source§impl Clone for RTCIceCredentialType
impl Clone for RTCIceCredentialType
source§fn clone(&self) -> RTCIceCredentialType
fn clone(&self) -> RTCIceCredentialType
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 RTCIceCredentialType
impl Debug for RTCIceCredentialType
source§impl Default for RTCIceCredentialType
impl Default for RTCIceCredentialType
source§impl Display for RTCIceCredentialType
impl Display for RTCIceCredentialType
source§impl From<&str> for RTCIceCredentialType
impl From<&str> for RTCIceCredentialType
source§impl PartialEq<RTCIceCredentialType> for RTCIceCredentialType
impl PartialEq<RTCIceCredentialType> for RTCIceCredentialType
source§fn eq(&self, other: &RTCIceCredentialType) -> bool
fn eq(&self, other: &RTCIceCredentialType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.