pub enum FrameDamage {
None,
MissingSlice,
TruncatedFragment,
}Expand description
The kind of packet loss retained in a best-effort access unit.
Variants§
None
The access unit contains all packets observed by the receiver.
MissingSlice
One or more complete packets or slices were absent between valid NAL units.
TruncatedFragment
A fragmented NAL ends at the last contiguous byte received before a gap.
Implementations§
Source§impl FrameDamage
impl FrameDamage
Sourcepub const fn is_damaged(self) -> bool
pub const fn is_damaged(self) -> bool
Return true when the access unit is incomplete.
Trait Implementations§
Source§impl Clone for FrameDamage
impl Clone for FrameDamage
Source§fn clone(&self) -> FrameDamage
fn clone(&self) -> FrameDamage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FrameDamage
Source§impl Debug for FrameDamage
impl Debug for FrameDamage
Source§impl Default for FrameDamage
impl Default for FrameDamage
Source§fn default() -> FrameDamage
fn default() -> FrameDamage
Returns the “default value” for a type. Read more
impl Eq for FrameDamage
Source§impl PartialEq for FrameDamage
impl PartialEq for FrameDamage
Source§fn eq(&self, other: &FrameDamage) -> bool
fn eq(&self, other: &FrameDamage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FrameDamage
Auto Trait Implementations§
impl Freeze for FrameDamage
impl RefUnwindSafe for FrameDamage
impl Send for FrameDamage
impl Sync for FrameDamage
impl Unpin for FrameDamage
impl UnsafeUnpin for FrameDamage
impl UnwindSafe for FrameDamage
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