pub enum FecHeaderError {
BufferTooShort(usize),
ExtendedFlagNotSet,
OffsetValueZero,
NumberAssociatedValueZero,
}Expand description
Errors which may occur when trying to parse FEC header data
Variants§
BufferTooShort(usize)
The given buffer is too short to contain FEC headers (16 bytes, for SMPTE 2022-1)
ExtendedFlagNotSet
The e (extended) flag is set to 0 (SMPTE 2022-1 requires that it is set to 1).
OffsetValueZero
the offset field unexpectedly had the value 0
NumberAssociatedValueZero
the NA field unexpectedly had the value 0
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FecHeaderError
impl RefUnwindSafe for FecHeaderError
impl Send for FecHeaderError
impl Sync for FecHeaderError
impl Unpin for FecHeaderError
impl UnwindSafe for FecHeaderError
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