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

Parse error caused by corrupt or malformed data.

Parse error caused by limited parser support rather than invalid data.

Reflect std::io::ErrorKind::UnexpectedEof for short data.

Propagate underlying errors from std::io.

read_mp4 terminated without detecting a moov box.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl From<BitReaderError> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<FromUtf8Error> for Error
[src]

Performs the conversion.