Struct mediasoup::direct_transport::DirectTransportStat[][src]

#[non_exhaustive]pub struct DirectTransportStat {
    pub transport_id: TransportId,
    pub timestamp: u64,
    pub sctp_state: Option<SctpState>,
    pub bytes_received: usize,
    pub recv_bitrate: u32,
    pub bytes_sent: usize,
    pub send_bitrate: u32,
    pub rtp_bytes_received: usize,
    pub rtp_recv_bitrate: u32,
    pub rtp_bytes_sent: usize,
    pub rtp_send_bitrate: u32,
    pub rtx_bytes_received: usize,
    pub rtx_recv_bitrate: u32,
    pub rtx_bytes_sent: usize,
    pub rtx_send_bitrate: u32,
    pub probation_bytes_sent: usize,
    pub probation_send_bitrate: u32,
    pub available_outgoing_bitrate: Option<u32>,
    pub available_incoming_bitrate: Option<u32>,
    pub max_incoming_bitrate: Option<u32>,
}

RTC statistics of the direct transport.

Fields (Non-exhaustive)

Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct {{ .. }} syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
transport_id: TransportIdtimestamp: u64sctp_state: Option<SctpState>bytes_received: usizerecv_bitrate: u32bytes_sent: usizesend_bitrate: u32rtp_bytes_received: usizertp_recv_bitrate: u32rtp_bytes_sent: usizertp_send_bitrate: u32rtx_bytes_received: usizertx_recv_bitrate: u32rtx_bytes_sent: usizertx_send_bitrate: u32probation_bytes_sent: usizeprobation_send_bitrate: u32available_outgoing_bitrate: Option<u32>available_incoming_bitrate: Option<u32>max_incoming_bitrate: Option<u32>

Trait Implementations

impl Clone for DirectTransportStat[src]

impl Debug for DirectTransportStat[src]

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

impl PartialEq<DirectTransportStat> for DirectTransportStat[src]

impl Serialize for DirectTransportStat[src]

impl StructuralPartialEq for DirectTransportStat[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.