pub enum ConsumerTraceEventData {
Rtp {
timestamp: u64,
direction: TraceEventDirection,
info: RtpPacketTraceInfo,
},
KeyFrame {
timestamp: u64,
direction: TraceEventDirection,
info: RtpPacketTraceInfo,
},
Nack {
timestamp: u64,
direction: TraceEventDirection,
},
Pli {
timestamp: u64,
direction: TraceEventDirection,
info: SsrcTraceInfo,
},
Fir {
timestamp: u64,
direction: TraceEventDirection,
info: SsrcTraceInfo,
},
}
Expand description
‘trace’ event data.
Variants§
Rtp
RTP packet.
KeyFrame
RTP video keyframe packet.
Nack
RTCP NACK packet.
Pli
RTCP PLI packet.
Fir
RTCP FIR packet.
Trait Implementations§
Source§impl Clone for ConsumerTraceEventData
impl Clone for ConsumerTraceEventData
Source§fn clone(&self) -> ConsumerTraceEventData
fn clone(&self) -> ConsumerTraceEventData
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 ConsumerTraceEventData
impl Debug for ConsumerTraceEventData
Source§impl<'de> Deserialize<'de> for ConsumerTraceEventData
impl<'de> Deserialize<'de> for ConsumerTraceEventData
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
Auto Trait Implementations§
impl Freeze for ConsumerTraceEventData
impl RefUnwindSafe for ConsumerTraceEventData
impl Send for ConsumerTraceEventData
impl Sync for ConsumerTraceEventData
impl Unpin for ConsumerTraceEventData
impl UnwindSafe for ConsumerTraceEventData
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