Enum mp4parse::Error [] [src]

pub enum Error {
    InvalidData,
    Unsupported,
    UnexpectedEOF,
    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.

Io(Error)

Propagate underlying errors from std::io.

Trait Implementations

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<Error> for Error
[src]

fn from(err: Error) -> Error

Performs the conversion.

impl From<Error> for Error
[src]

fn from(err: Error) -> Error

Performs the conversion.