pub struct VoIPMetricsReportBlock {
Show 22 fields pub ssrc: u32, pub loss_rate: u8, pub discard_rate: u8, pub burst_density: u8, pub gap_density: u8, pub burst_duration: u16, pub gap_duration: u16, pub round_trip_delay: u16, pub end_system_delay: u16, pub signal_level: u8, pub noise_level: u8, pub rerl: u8, pub gmin: u8, pub rfactor: u8, pub ext_rfactor: u8, pub mos_lq: u8, pub mos_cq: u8, pub rx_config: u8, pub reserved: u8, pub jb_nominal: u16, pub jb_maximum: u16, pub jb_abs_max: u16,
}
Expand description

VoIPMetricsReportBlock encodes a VoIP Metrics Report Block as described in RFC 3611, section 4.7.

0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BT=7 | reserved | block length = 8 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ssrc of source | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | loss rate | discard rate | burst density | gap density | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | burst duration | gap duration | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | round trip delay | end system delay | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | signal level | noise level | RERL | Gmin | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | R factor | ext. R factor | MOS-LQ | MOS-CQ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RX config | reserved | JB nominal | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | JB maximum | JB abs max | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Fields

ssrc: u32loss_rate: u8discard_rate: u8burst_density: u8gap_density: u8burst_duration: u16gap_duration: u16round_trip_delay: u16end_system_delay: u16signal_level: u8noise_level: u8rerl: u8gmin: u8rfactor: u8ext_rfactor: u8mos_lq: u8mos_cq: u8rx_config: u8reserved: u8jb_nominal: u16jb_maximum: u16jb_abs_max: u16

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Formats the value using the given formatter. Read more

marshal_to encodes the VoIPMetricsReportBlock in binary

destination_ssrc returns an array of ssrc values that this report block refers to.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Unmarshal decodes the VoIPMetricsReportBlock from binary

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.