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