#[repr(u8)]
pub enum RTCSctpTransportState {
Unspecified,
Connecting,
Connected,
Closed,
}
Expand description
SCTPTransportState indicates the state of the SCTP transport.
Variants§
Unspecified
Connecting
SCTPTransportStateConnecting indicates the SCTPTransport is in the process of negotiating an association. This is the initial state of the SCTPTransportState when an SCTPTransport is created.
Connected
SCTPTransportStateConnected indicates the negotiation of an association is completed.
Closed
SCTPTransportStateClosed indicates a SHUTDOWN or ABORT chunk is received or when the SCTP association has been closed intentionally, such as by closing the peer connection or applying a remote description that rejects data or changes the SCTP port.
Trait Implementations§
source§impl Clone for RTCSctpTransportState
impl Clone for RTCSctpTransportState
source§fn clone(&self) -> RTCSctpTransportState
fn clone(&self) -> RTCSctpTransportState
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 RTCSctpTransportState
impl Debug for RTCSctpTransportState
source§impl Default for RTCSctpTransportState
impl Default for RTCSctpTransportState
source§impl Display for RTCSctpTransportState
impl Display for RTCSctpTransportState
source§impl From<&str> for RTCSctpTransportState
impl From<&str> for RTCSctpTransportState
source§impl From<u8> for RTCSctpTransportState
impl From<u8> for RTCSctpTransportState
source§impl PartialEq<RTCSctpTransportState> for RTCSctpTransportState
impl PartialEq<RTCSctpTransportState> for RTCSctpTransportState
source§fn eq(&self, other: &RTCSctpTransportState) -> bool
fn eq(&self, other: &RTCSctpTransportState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.