#[repr(u8)]pub enum RTCSctpTransportState {
Unspecified = 0,
Connecting = 1,
Connected = 2,
Closed = 3,
}
Expand description
SCTPTransportState indicates the state of the SCTP transport.
Variants§
Unspecified = 0
Connecting = 1
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 = 2
SCTPTransportStateConnected indicates the negotiation of an association is completed.
Closed = 3
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§fn default() -> RTCSctpTransportState
fn default() -> RTCSctpTransportState
Returns the “default value” for a type. Read more
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 for RTCSctpTransportState
impl PartialEq 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 ==
.impl Copy for RTCSctpTransportState
impl Eq for RTCSctpTransportState
impl StructuralPartialEq for RTCSctpTransportState
Auto Trait Implementations§
impl Freeze for RTCSctpTransportState
impl RefUnwindSafe for RTCSctpTransportState
impl Send for RTCSctpTransportState
impl Sync for RTCSctpTransportState
impl Unpin for RTCSctpTransportState
impl UnwindSafe for RTCSctpTransportState
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