Enum mp4parse::Error
[−]
[src]
pub enum Error {
InvalidData(&'static str),
Unsupported(&'static str),
UnexpectedEOF,
Io(Error),
NoMoov,
}Describes parser failures.
This enum wraps the standard io::Error type, unified with
our own parser error states and those of crates we use.
Variants
InvalidData(&'static str)Parse error caused by corrupt or malformed data.
Unsupported(&'static str)Parse error caused by limited parser support rather than invalid data.
UnexpectedEOFReflect std::io::ErrorKind::UnexpectedEof for short data.
Io(Error)Propagate underlying errors from std::io.
NoMoovread_mp4 terminated without detecting a moov box.
Trait Implementations
impl Debug for Error[src]
impl From<BitReaderError> for Error[src]
impl From<Error> for Error[src]
impl From<FromUtf8Error> for Error[src]
fn from(_: FromUtf8Error) -> Error
Performs the conversion.