Struct mediasoup::plain_transport::PlainTransportStat
source · [−]#[non_exhaustive]pub struct PlainTransportStat {Show 26 fields
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>,
pub rtp_packet_loss_received: Option<f64>,
pub rtp_packet_loss_sent: Option<f64>,
pub rtcp_mux: bool,
pub comedia: bool,
pub tuple: Option<TransportTuple>,
pub rtcp_tuple: Option<TransportTuple>,
}
Expand description
RTC statistics of the plain transport.
Fields (Non-exhaustive)
This struct is marked as 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: TransportId
timestamp: u64
sctp_state: Option<SctpState>
bytes_received: usize
recv_bitrate: u32
bytes_sent: usize
send_bitrate: u32
rtp_bytes_received: usize
rtp_recv_bitrate: u32
rtp_bytes_sent: usize
rtp_send_bitrate: u32
rtx_bytes_received: usize
rtx_recv_bitrate: u32
rtx_bytes_sent: usize
rtx_send_bitrate: u32
probation_bytes_sent: usize
probation_send_bitrate: u32
available_outgoing_bitrate: Option<u32>
available_incoming_bitrate: Option<u32>
max_incoming_bitrate: Option<u32>
rtp_packet_loss_received: Option<f64>
rtp_packet_loss_sent: Option<f64>
rtcp_mux: bool
comedia: bool
tuple: Option<TransportTuple>
rtcp_tuple: Option<TransportTuple>
Trait Implementations
sourceimpl Clone for PlainTransportStat
impl Clone for PlainTransportStat
sourcefn clone(&self) -> PlainTransportStat
fn clone(&self) -> PlainTransportStat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PlainTransportStat
impl Debug for PlainTransportStat
sourceimpl<'de> Deserialize<'de> for PlainTransportStat
impl<'de> Deserialize<'de> for PlainTransportStat
sourcefn 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
sourceimpl PartialEq<PlainTransportStat> for PlainTransportStat
impl PartialEq<PlainTransportStat> for PlainTransportStat
sourcefn eq(&self, other: &PlainTransportStat) -> bool
fn eq(&self, other: &PlainTransportStat) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PlainTransportStat) -> bool
fn ne(&self, other: &PlainTransportStat) -> bool
This method tests for !=
.
sourceimpl PartialOrd<PlainTransportStat> for PlainTransportStat
impl PartialOrd<PlainTransportStat> for PlainTransportStat
sourcefn partial_cmp(&self, other: &PlainTransportStat) -> Option<Ordering>
fn partial_cmp(&self, other: &PlainTransportStat) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
sourceimpl Serialize for PlainTransportStat
impl Serialize for PlainTransportStat
impl StructuralPartialEq for PlainTransportStat
Auto Trait Implementations
impl RefUnwindSafe for PlainTransportStat
impl Send for PlainTransportStat
impl Sync for PlainTransportStat
impl Unpin for PlainTransportStat
impl UnwindSafe for PlainTransportStat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more