pub enum MediaError {
InvalidFlvTag,
InvalidAvcPacket,
InvalidAacPacket,
UnsupportedCodec(String),
InvalidNalu,
MissingSequenceHeader,
}Expand description
Media parsing errors
Variants§
InvalidFlvTag
InvalidAvcPacket
InvalidAacPacket
UnsupportedCodec(String)
InvalidNalu
MissingSequenceHeader
Trait Implementations§
Source§impl Debug for MediaError
impl Debug for MediaError
Source§impl Display for MediaError
impl Display for MediaError
Source§impl Error for MediaError
impl Error for MediaError
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 From<MediaError> for Error
impl From<MediaError> for Error
Source§fn from(err: MediaError) -> Self
fn from(err: MediaError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MediaError
impl RefUnwindSafe for MediaError
impl Send for MediaError
impl Sync for MediaError
impl Unpin for MediaError
impl UnwindSafe for MediaError
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