Struct mediasoup_sys::fbs::transport::TraceNotificationRef
source · pub struct TraceNotificationRef<'a>(/* private fields */);
Expand description
Reference to a deserialized TraceNotification.
Implementations§
source§impl<'a> TraceNotificationRef<'a>
impl<'a> TraceNotificationRef<'a>
sourcepub fn type_(&self) -> Result<TraceEventType>
pub fn type_(&self) -> Result<TraceEventType>
Getter for the type
field.
sourcepub fn timestamp(&self) -> Result<u64>
pub fn timestamp(&self) -> Result<u64>
Getter for the timestamp
field.
sourcepub fn direction(&self) -> Result<TraceDirection>
pub fn direction(&self) -> Result<TraceDirection>
Getter for the direction
field.
sourcepub fn info(&self) -> Result<Option<TraceInfoRef<'a>>>
pub fn info(&self) -> Result<Option<TraceInfoRef<'a>>>
Getter for the info
field.
Trait Implementations§
source§impl<'a> Clone for TraceNotificationRef<'a>
impl<'a> Clone for TraceNotificationRef<'a>
source§fn clone(&self) -> TraceNotificationRef<'a>
fn clone(&self) -> TraceNotificationRef<'a>
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<'a> Debug for TraceNotificationRef<'a>
impl<'a> Debug for TraceNotificationRef<'a>
source§impl<'a> ReadAsRoot<'a> for TraceNotificationRef<'a>
impl<'a> ReadAsRoot<'a> for TraceNotificationRef<'a>
source§impl<'a> TryFrom<TraceNotificationRef<'a>> for TraceNotification
impl<'a> TryFrom<TraceNotificationRef<'a>> for TraceNotification
impl<'a> Copy for TraceNotificationRef<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for TraceNotificationRef<'a>
impl<'a> Send for TraceNotificationRef<'a>
impl<'a> Sync for TraceNotificationRef<'a>
impl<'a> Unpin for TraceNotificationRef<'a>
impl<'a> UnwindSafe for TraceNotificationRef<'a>
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