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
sourceimpl Clone for RTCIceCredentialType
impl Clone for RTCIceCredentialType
sourcefn clone(&self) -> RTCIceCredentialType
fn clone(&self) -> RTCIceCredentialType
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 RTCIceCredentialType
impl Debug for RTCIceCredentialType
sourceimpl Default for RTCIceCredentialType
impl Default for RTCIceCredentialType
sourceimpl Display for RTCIceCredentialType
impl Display for RTCIceCredentialType
sourceimpl From<&str> for RTCIceCredentialType
impl From<&str> for RTCIceCredentialType
sourceimpl PartialEq<RTCIceCredentialType> for RTCIceCredentialType
impl PartialEq<RTCIceCredentialType> for RTCIceCredentialType
sourcefn eq(&self, other: &RTCIceCredentialType) -> bool
fn eq(&self, other: &RTCIceCredentialType) -> bool
impl Copy for RTCIceCredentialType
impl Eq for RTCIceCredentialType
impl StructuralEq for RTCIceCredentialType
impl StructuralPartialEq for RTCIceCredentialType
Auto Trait Implementations
impl RefUnwindSafe for RTCIceCredentialType
impl Send for RTCIceCredentialType
impl Sync for RTCIceCredentialType
impl Unpin for RTCIceCredentialType
impl UnwindSafe for RTCIceCredentialType
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