pub enum IvfError {
IoError(Error),
TryFromSliceError(TryFromSliceError),
TryFromIntError(TryFromIntError),
InvalidHeader(String),
UnexpectedFileEnding,
}
Expand description
Errors that can occur when parsing IVF containers.
Variants§
IoError(Error)
A std::io::Error.
TryFromSliceError(TryFromSliceError)
A TryFromSliceError
.
TryFromIntError(TryFromIntError)
A TryFromIntError
.
InvalidHeader(String)
Invalid header.
UnexpectedFileEnding
Unexpected file ending.
Trait Implementations§
Source§impl Error for IvfError
impl Error for IvfError
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<TryFromIntError> for IvfError
impl From<TryFromIntError> for IvfError
Source§fn from(err: TryFromIntError) -> IvfError
fn from(err: TryFromIntError) -> IvfError
Converts to this type from the input type.
Source§impl From<TryFromSliceError> for IvfError
impl From<TryFromSliceError> for IvfError
Source§fn from(err: TryFromSliceError) -> IvfError
fn from(err: TryFromSliceError) -> IvfError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IvfError
impl !RefUnwindSafe for IvfError
impl Send for IvfError
impl Sync for IvfError
impl Unpin 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