pub enum IvfError {
InvalidSignature,
TruncatedHeader,
InvalidHeaderSize(u16),
TruncatedFrameHeader {
frame_index: usize,
},
TruncatedFrameData {
frame_index: usize,
frame_size: usize,
remaining_bytes: usize,
},
}Variants§
Trait Implementations§
Source§impl Error for IvfError
impl Error for IvfError
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()
impl Eq for IvfError
impl StructuralPartialEq for IvfError
Auto Trait Implementations§
impl Freeze for IvfError
impl RefUnwindSafe for IvfError
impl Send for IvfError
impl Sync for IvfError
impl Unpin for IvfError
impl UnsafeUnpin for IvfError
impl UnwindSafe for IvfError
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