pub enum SubprotocolState {
Disabled,
Negotiating,
Enabled,
Degraded,
Suspended,
}Expand description
Sub-protocol activation FSM.
Variants§
Disabled
Sub-protocol is disabled.
Negotiating
Capability negotiation is in progress (CAPABILITIES_ADVERTISE).
Enabled
Sub-protocol is active.
Degraded
Sub-protocol is active in degraded mode (e.g. lost FEC).
Suspended
Sub-protocol is temporarily suspended (MUTE / STREAM_STOP).
Trait Implementations§
Source§impl Clone for SubprotocolState
impl Clone for SubprotocolState
Source§fn clone(&self) -> SubprotocolState
fn clone(&self) -> SubprotocolState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SubprotocolState
Source§impl Debug for SubprotocolState
impl Debug for SubprotocolState
impl Eq for SubprotocolState
Source§impl Hash for SubprotocolState
impl Hash for SubprotocolState
Source§impl PartialEq for SubprotocolState
impl PartialEq for SubprotocolState
Source§fn eq(&self, other: &SubprotocolState) -> bool
fn eq(&self, other: &SubprotocolState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubprotocolState
Auto Trait Implementations§
impl Freeze for SubprotocolState
impl RefUnwindSafe for SubprotocolState
impl Send for SubprotocolState
impl Sync for SubprotocolState
impl Unpin for SubprotocolState
impl UnsafeUnpin for SubprotocolState
impl UnwindSafe for SubprotocolState
Blanket Implementations§
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