#[non_exhaustive]pub struct UlpfecDecoderStats {
pub fec_packets: u64,
pub fec_rejected: u64,
pub recovered: u64,
pub failed: u64,
pub rule_violations: u64,
}Expand description
What a decoder has done so far.
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.fec_packets: u64FEC packets accepted.
fec_rejected: u64FEC payloads refused: malformed, outside the window, or more levels than signalled.
recovered: u64Media packets rebuilt completely and handed out.
failed: u64Recoveries whose result was not an RTP packet (inconsistent FEC data), discarded.
rule_violations: u64FEC packets that broke rule a of RFC 5109 7.4 against one already held: a media packet
protected twice at a level above 0, or twice at level 0 with different lengths. They are
used all the same; see UlpfecDecoder::push_fec.
Trait Implementations§
Source§impl Clone for UlpfecDecoderStats
impl Clone for UlpfecDecoderStats
impl Copy for UlpfecDecoderStats
Source§impl Debug for UlpfecDecoderStats
impl Debug for UlpfecDecoderStats
Source§impl Default for UlpfecDecoderStats
impl Default for UlpfecDecoderStats
impl Eq for UlpfecDecoderStats
Source§impl PartialEq for UlpfecDecoderStats
impl PartialEq for UlpfecDecoderStats
impl StructuralPartialEq for UlpfecDecoderStats
Auto Trait Implementations§
impl Forget for UlpfecDecoderStats
impl Freeze for UlpfecDecoderStats
impl Move for UlpfecDecoderStats
impl RefUnwindSafe for UlpfecDecoderStats
impl Send for UlpfecDecoderStats
impl Sync for UlpfecDecoderStats
impl Unpin for UlpfecDecoderStats
impl UnsafeUnpin for UlpfecDecoderStats
impl UnwindSafe for UlpfecDecoderStats
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