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§fn default() -> RTCIceCredentialType
fn default() -> RTCIceCredentialType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RTCIceCredentialType
impl<'de> Deserialize<'de> for RTCIceCredentialType
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 RTCIceCredentialType
impl Display for RTCIceCredentialType
source§impl From<&str> for RTCIceCredentialType
impl From<&str> for RTCIceCredentialType
source§impl Hash for RTCIceCredentialType
impl Hash for RTCIceCredentialType
source§impl PartialEq for RTCIceCredentialType
impl PartialEq 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 ==
.source§impl Serialize for RTCIceCredentialType
impl Serialize for RTCIceCredentialType
impl Copy for RTCIceCredentialType
impl Eq for RTCIceCredentialType
impl StructuralPartialEq for RTCIceCredentialType
Auto Trait Implementations§
impl Freeze for RTCIceCredentialType
impl RefUnwindSafe for RTCIceCredentialType
impl Send for RTCIceCredentialType
impl Sync for RTCIceCredentialType
impl Unpin for RTCIceCredentialType
impl UnwindSafe for RTCIceCredentialType
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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