Enum mediasoup::producer::ProducerTraceEventData[][src]

pub enum ProducerTraceEventData {
    Rtp {
        timestamp: u64,
        direction: TraceEventDirection,
        info: Value,
    },
    KeyFrame {
        timestamp: u64,
        direction: TraceEventDirection,
        info: Value,
    },
    Nack {
        timestamp: u64,
        direction: TraceEventDirection,
        info: Value,
    },
    Pli {
        timestamp: u64,
        direction: TraceEventDirection,
        info: Value,
    },
    Fir {
        timestamp: u64,
        direction: TraceEventDirection,
        info: Value,
    },
}

‘trace’ event data.

Variants

Rtp

RTP packet.

Fields of Rtp

timestamp: u64

Event timestamp.

direction: TraceEventDirection

Event direction.

info: Value

Per type specific information.

KeyFrame

RTP video keyframe packet.

Fields of KeyFrame

timestamp: u64

Event timestamp.

direction: TraceEventDirection

Event direction.

info: Value

Per type specific information.

Nack

RTCP NACK packet.

Fields of Nack

timestamp: u64

Event timestamp.

direction: TraceEventDirection

Event direction.

info: Value

Per type specific information.

Pli

RTCP PLI packet.

Fields of Pli

timestamp: u64

Event timestamp.

direction: TraceEventDirection

Event direction.

info: Value

Per type specific information.

Fir

RTCP FIR packet.

Fields of Fir

timestamp: u64

Event timestamp.

direction: TraceEventDirection

Event direction.

info: Value

Per type specific information.

Trait Implementations

impl Clone for ProducerTraceEventData[src]

impl Debug for ProducerTraceEventData[src]

impl<'de> Deserialize<'de> for ProducerTraceEventData[src]

impl Serialize for ProducerTraceEventData[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.