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
InvalidData
Parse error caused by corrupt or malformed data.
Unsupported
Parse error caused by limited parser support rather than invalid data.
UnexpectedEOF
Reflect byteorder::Error::UnexpectedEOF
for short data.
AssertCaught
Caught panic! or assert! meaning the parser couldn't recover.
Io(Error)
Propagate underlying errors from std::io
.