pub enum RTCDtlsTransportState {
Unspecified = 0,
New = 1,
Connecting = 2,
Connected = 3,
Closed = 4,
Failed = 5,
}
Expand description
DTLSTransportState indicates the DTLS transport establishment state.
Variants§
Unspecified = 0
New = 1
DTLSTransportStateNew indicates that DTLS has not started negotiating yet.
Connecting = 2
DTLSTransportStateConnecting indicates that DTLS is in the process of negotiating a secure connection and verifying the remote fingerprint.
Connected = 3
DTLSTransportStateConnected indicates that DTLS has completed negotiation of a secure connection and verified the remote fingerprint.
Closed = 4
DTLSTransportStateClosed indicates that the transport has been closed intentionally as the result of receipt of a close_notify alert, or calling close().
Failed = 5
DTLSTransportStateFailed indicates that the transport has failed as the result of an error (such as receipt of an error alert or failure to validate the remote fingerprint).
Trait Implementations§
source§impl Clone for RTCDtlsTransportState
impl Clone for RTCDtlsTransportState
source§fn clone(&self) -> RTCDtlsTransportState
fn clone(&self) -> RTCDtlsTransportState
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 RTCDtlsTransportState
impl Debug for RTCDtlsTransportState
source§impl Default for RTCDtlsTransportState
impl Default for RTCDtlsTransportState
source§fn default() -> RTCDtlsTransportState
fn default() -> RTCDtlsTransportState
Returns the “default value” for a type. Read more
source§impl Display for RTCDtlsTransportState
impl Display for RTCDtlsTransportState
source§impl From<&str> for RTCDtlsTransportState
impl From<&str> for RTCDtlsTransportState
source§impl From<u8> for RTCDtlsTransportState
impl From<u8> for RTCDtlsTransportState
source§impl PartialEq for RTCDtlsTransportState
impl PartialEq for RTCDtlsTransportState
source§fn eq(&self, other: &RTCDtlsTransportState) -> bool
fn eq(&self, other: &RTCDtlsTransportState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RTCDtlsTransportState
impl Eq for RTCDtlsTransportState
impl StructuralPartialEq for RTCDtlsTransportState
Auto Trait Implementations§
impl Freeze for RTCDtlsTransportState
impl RefUnwindSafe for RTCDtlsTransportState
impl Send for RTCDtlsTransportState
impl Sync for RTCDtlsTransportState
impl Unpin for RTCDtlsTransportState
impl UnwindSafe for RTCDtlsTransportState
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