Enum mp4parse::Error
[−]
[src]
pub enum Error {
InvalidData,
Unsupported,
UnexpectedEOF,
AssertCaught,
Io(Error),
}Describes parser failures.
This enum wraps athe standard io::Error type, unified with
our own parser error states and those of crates we use.
Variants
InvalidDataParse error caused by corrupt or malformed data.
UnsupportedParse error caused by limited parser support rather than invalid data.
UnexpectedEOFReflect byteorder::Error::UnexpectedEOF for short data.
AssertCaughtCaught panic! or assert! meaning the parser couldn't recover.
Io(Error)Propagate underlying errors from std::io.
Trait Implementations
impl Debug for Error[src]
impl From<Error> for Error[src]
impl From<Error> for Error[src]
impl From<FromUtf8Error> for Error[src]
fn from(_: FromUtf8Error) -> Error
Performs the conversion.