Enum mediasoup_sys::fbs::transport::TraceEventType
source · #[repr(u8)]pub enum TraceEventType {
Probation = 0,
Bwe = 1,
}
Expand description
The enum TraceEventType
in the namespace FBS.Transport
Generated from these locations:
- Enum
TraceEventType
in the filefbs/transport.fbs:128
Variants§
Probation = 0
The variant PROBATION
in the enum TraceEventType
Bwe = 1
The variant BWE
in the enum TraceEventType
Implementations§
source§impl TraceEventType
impl TraceEventType
sourcepub const ENUM_VALUES: [Self; 2] = _
pub const ENUM_VALUES: [Self; 2] = _
Array containing all valid variants of TraceEventType
Trait Implementations§
source§impl Clone for TraceEventType
impl Clone for TraceEventType
source§fn clone(&self) -> TraceEventType
fn clone(&self) -> TraceEventType
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 TraceEventType
impl Debug for TraceEventType
source§impl<'de> Deserialize<'de> for TraceEventType
impl<'de> Deserialize<'de> for TraceEventType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<TraceEventType> for u8
impl From<TraceEventType> for u8
source§fn from(value: TraceEventType) -> Self
fn from(value: TraceEventType) -> Self
Converts to this type from the input type.
source§impl Hash for TraceEventType
impl Hash for TraceEventType
source§impl Ord for TraceEventType
impl Ord for TraceEventType
source§fn cmp(&self, other: &TraceEventType) -> Ordering
fn cmp(&self, other: &TraceEventType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for TraceEventType
impl PartialEq for TraceEventType
source§fn eq(&self, other: &TraceEventType) -> bool
fn eq(&self, other: &TraceEventType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TraceEventType
impl PartialOrd for TraceEventType
source§fn partial_cmp(&self, other: &TraceEventType) -> Option<Ordering>
fn partial_cmp(&self, other: &TraceEventType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for TraceEventType
impl Serialize for TraceEventType
source§impl TryFrom<u8> for TraceEventType
impl TryFrom<u8> for TraceEventType
§type Error = UnknownEnumTagKind
type Error = UnknownEnumTagKind
The type returned in the event of a conversion error.
impl Copy for TraceEventType
impl Eq for TraceEventType
impl StructuralPartialEq for TraceEventType
impl VectorWrite<TraceEventType> for TraceEventType
impl WriteAs<TraceEventType> for TraceEventType
impl WriteAsDefault<TraceEventType, TraceEventType> for TraceEventType
impl WriteAsOptional<TraceEventType> for TraceEventType
Auto Trait Implementations§
impl RefUnwindSafe for TraceEventType
impl Send for TraceEventType
impl Sync for TraceEventType
impl Unpin for TraceEventType
impl UnwindSafe for TraceEventType
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more