Struct mediasoup_sys::fbs::consumer::TraceNotification
source · pub struct TraceNotification {
pub type_: TraceEventType,
pub timestamp: u64,
pub direction: TraceDirection,
pub info: Option<TraceInfo>,
}
Expand description
The table TraceNotification
in the namespace FBS.Consumer
Generated from these locations:
- Table
TraceNotification
in the filefbs/consumer.fbs:119
Fields§
§type_: TraceEventType
The field type
in the table TraceNotification
timestamp: u64
The field timestamp
in the table TraceNotification
direction: TraceDirection
The field direction
in the table TraceNotification
info: Option<TraceInfo>
The field info
in the table TraceNotification
Implementations§
source§impl TraceNotification
impl TraceNotification
sourcepub fn builder() -> TraceNotificationBuilder<()>
pub fn builder() -> TraceNotificationBuilder<()>
Creates a TraceNotificationBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_type_: impl WriteAsDefault<TraceEventType, TraceEventType>, field_timestamp: impl WriteAsDefault<u64, u64>, field_direction: impl WriteAsDefault<TraceDirection, TraceDirection>, field_info: impl WriteAsOptionalUnion<TraceInfo> ) -> Offset<Self>
Trait Implementations§
source§impl Clone for TraceNotification
impl Clone for TraceNotification
source§fn clone(&self) -> TraceNotification
fn clone(&self) -> TraceNotification
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 TraceNotification
impl Debug for TraceNotification
source§impl Default for TraceNotification
impl Default for TraceNotification
source§impl<'de> Deserialize<'de> for TraceNotification
impl<'de> Deserialize<'de> for TraceNotification
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 Hash for TraceNotification
impl Hash for TraceNotification
source§impl Ord for TraceNotification
impl Ord for TraceNotification
source§fn cmp(&self, other: &TraceNotification) -> Ordering
fn cmp(&self, other: &TraceNotification) -> 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 TraceNotification
impl PartialEq for TraceNotification
source§fn eq(&self, other: &TraceNotification) -> bool
fn eq(&self, other: &TraceNotification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TraceNotification
impl PartialOrd for TraceNotification
source§fn partial_cmp(&self, other: &TraceNotification) -> Option<Ordering>
fn partial_cmp(&self, other: &TraceNotification) -> 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 TraceNotification
impl Serialize for TraceNotification
source§impl<'a> TryFrom<TraceNotificationRef<'a>> for TraceNotification
impl<'a> TryFrom<TraceNotificationRef<'a>> for TraceNotification
impl Eq for TraceNotification
impl StructuralPartialEq for TraceNotification
impl VectorWrite<Offset<TraceNotification>> for TraceNotification
impl WriteAs<Offset<TraceNotification>> for TraceNotification
impl WriteAsOffset<TraceNotification> for TraceNotification
impl<T0: WriteAsDefault<TraceEventType, TraceEventType>, T1: WriteAsDefault<u64, u64>, T2: WriteAsDefault<TraceDirection, TraceDirection>, T3: WriteAsOptionalUnion<TraceInfo>> WriteAsOffset<TraceNotification> for TraceNotificationBuilder<(T0, T1, T2, T3)>
impl WriteAsOptional<Offset<TraceNotification>> for TraceNotification
Auto Trait Implementations§
impl RefUnwindSafe for TraceNotification
impl Send for TraceNotification
impl Sync for TraceNotification
impl Unpin for TraceNotification
impl UnwindSafe for TraceNotification
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