pub enum WebmCoercionError {
BlockCoercionError(String),
SimpleBlockCoercionError(String),
}
Expand description
Errors that can occur when coercing WebM data into structs.
Variants§
BlockCoercionError(String)
An error when coercing raw Block data into a super::matroska_spec::Block
struct.
SimpleBlockCoercionError(String)
An error when coercing raw SimpleBlock data into a super::matroska_spec::SimpleBlock
struct.
Trait Implementations§
Source§impl Debug for WebmCoercionError
impl Debug for WebmCoercionError
Source§impl Display for WebmCoercionError
impl Display for WebmCoercionError
Source§impl Error for WebmCoercionError
impl Error for WebmCoercionError
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()
Auto Trait Implementations§
impl Freeze for WebmCoercionError
impl RefUnwindSafe for WebmCoercionError
impl Send for WebmCoercionError
impl Sync for WebmCoercionError
impl Unpin for WebmCoercionError
impl UnwindSafe for WebmCoercionError
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