pub enum DemuxError {
Unsupported(String),
Invalid(String),
NoSuchTrack(u32),
Io(Error),
}Expand description
Why a file could not be read.
Variants§
Unsupported(String)
A format, codec layout or feature this layer does not read.
Invalid(String)
Data that breaks its format’s rules or a size limit.
NoSuchTrack(u32)
A track id the reader does not have.
Io(Error)
The file could not be read.
Trait Implementations§
Source§impl Debug for DemuxError
impl Debug for DemuxError
Source§impl Display for DemuxError
impl Display for DemuxError
Source§impl Error for DemuxError
impl Error for DemuxError
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 From<DemuxError> for DecodeError
impl From<DemuxError> for DecodeError
Source§fn from(error: DemuxError) -> Self
fn from(error: DemuxError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DemuxError
impl !UnwindSafe for DemuxError
impl Forget for DemuxError
impl Freeze for DemuxError
impl Move for DemuxError
impl Send for DemuxError
impl Sync for DemuxError
impl Unpin for DemuxError
impl UnsafeUnpin for DemuxError
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