pub enum IvfCodecError {
TooShort,
InvalidMagic,
Truncated,
}Expand description
Errors raised while decoding a persisted IVF payload.
Variants§
TooShort
Fewer than the minimum header bytes were present.
InvalidMagic
The leading magic was not IVF1.
Truncated
A field ran past the end of the buffer.
Trait Implementations§
Source§impl Clone for IvfCodecError
impl Clone for IvfCodecError
Source§fn clone(&self) -> IvfCodecError
fn clone(&self) -> IvfCodecError
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 moreSource§impl Debug for IvfCodecError
impl Debug for IvfCodecError
Source§impl Display for IvfCodecError
impl Display for IvfCodecError
impl Eq for IvfCodecError
Source§impl Error for IvfCodecError
impl Error for IvfCodecError
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 PartialEq for IvfCodecError
impl PartialEq for IvfCodecError
Source§fn eq(&self, other: &IvfCodecError) -> bool
fn eq(&self, other: &IvfCodecError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IvfCodecError
Auto Trait Implementations§
impl Freeze for IvfCodecError
impl RefUnwindSafe for IvfCodecError
impl Send for IvfCodecError
impl Sync for IvfCodecError
impl Unpin for IvfCodecError
impl UnsafeUnpin for IvfCodecError
impl UnwindSafe for IvfCodecError
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