#[non_exhaustive]pub enum FlexFecHeaderError {
Truncated,
ReservedVariant,
NoProtectedSsrc,
ZeroColumns,
ProtectsNothing,
NotARetransmittedPacket,
}Expand description
Why a repair packet’s FEC header cannot be used.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Truncated
Shorter than the fields it claims to carry.
ReservedVariant
R=1 and F=1: reserved, MUST be ignored (section 4.2.2).
NoProtectedSsrc
An R=0 repair packet whose RTP header has no CSRC: it names no source stream (section 4.2.1).
ZeroColumns
L=0: with D=0 it is reserved and MUST be ignored (section 4.2.2.2); with any other D it describes no packet.
ProtectsNothing
No mask bit is set in any block: the packet protects nothing.
NotARetransmittedPacket
A retransmission whose payload is not an RTP packet (shorter than a fixed RTP header).
Trait Implementations§
Source§impl Clone for FlexFecHeaderError
impl Clone for FlexFecHeaderError
impl Copy for FlexFecHeaderError
Source§impl Debug for FlexFecHeaderError
impl Debug for FlexFecHeaderError
Source§impl Display for FlexFecHeaderError
impl Display for FlexFecHeaderError
impl Eq for FlexFecHeaderError
Source§impl Error for FlexFecHeaderError
impl Error for FlexFecHeaderError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for FlexFecHeaderError
impl PartialEq for FlexFecHeaderError
impl StructuralPartialEq for FlexFecHeaderError
Auto Trait Implementations§
impl Forget for FlexFecHeaderError
impl Freeze for FlexFecHeaderError
impl Move for FlexFecHeaderError
impl RefUnwindSafe for FlexFecHeaderError
impl Send for FlexFecHeaderError
impl Sync for FlexFecHeaderError
impl Unpin for FlexFecHeaderError
impl UnsafeUnpin for FlexFecHeaderError
impl UnwindSafe for FlexFecHeaderError
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