pub enum CorruptSource {
Packet,
DecodedFrame,
}Expand description
Which side of the decode declared the corruption.
Two roads, one fact. A closed vocabulary owned by this crate, so it is an enum rather than a string.
Variants§
Packet
The caller’s packet arrived with CORRUPT set — the demuxer that
produced it found the payload damaged.
DecodedFrame
libavcodec returned a picture and marked the frame itself corrupt
(AV_FRAME_FLAG_CORRUPT), which is a decoder saying it concealed
errors rather than read the image.
Implementations§
Source§impl CorruptSource
impl CorruptSource
Trait Implementations§
Source§impl Clone for CorruptSource
impl Clone for CorruptSource
Source§fn clone(&self) -> CorruptSource
fn clone(&self) -> CorruptSource
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 CorruptSource
Source§impl Debug for CorruptSource
impl Debug for CorruptSource
Source§impl Display for CorruptSource
impl Display for CorruptSource
impl Eq for CorruptSource
Source§impl PartialEq for CorruptSource
impl PartialEq for CorruptSource
impl StructuralPartialEq for CorruptSource
Auto Trait Implementations§
impl Freeze for CorruptSource
impl RefUnwindSafe for CorruptSource
impl Send for CorruptSource
impl Sync for CorruptSource
impl Unpin for CorruptSource
impl UnsafeUnpin for CorruptSource
impl UnwindSafe for CorruptSource
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