pub enum DecoderError {
Unsupported(String),
Busy,
BadData(String),
Lost,
Failed(String),
}Expand description
Why a decoder was not opened, a chunk not decoded, or a decoder ended. Only
BadData leaves the decoder taking chunks.
Variants§
Unsupported(String)
The system has no decoder of the kind chosen for this stream; another choice may work.
Busy
Every such decoder is in use now; fewer at once, or software, may work.
BadData(String)
The stream is damaged, or began without a key frame. The decoder goes on from the next key frame.
Lost
The system took the decoder away. Another decoder goes on from a key frame.
Failed(String)
The system’s decoder failed.
Trait Implementations§
Source§impl Clone for DecoderError
impl Clone for DecoderError
Source§impl Debug for DecoderError
impl Debug for DecoderError
impl Eq for DecoderError
Source§impl PartialEq for DecoderError
impl PartialEq for DecoderError
impl StructuralPartialEq for DecoderError
Auto Trait Implementations§
impl Forget for DecoderError
impl Freeze for DecoderError
impl Move for DecoderError
impl RefUnwindSafe for DecoderError
impl Send for DecoderErrorwhere
RawVecInner: Send,
impl Sync for DecoderErrorwhere
RawVecInner: Sync,
impl Unpin for DecoderError
impl UnsafeUnpin for DecoderError
impl UnwindSafe for DecoderErrorwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.