Enum y4m::Error [] [src]

pub enum Error {
    EOF,
    BadInput,
    ParseError,
    IoError(Error),
}

Both encoding and decoding errors.

Variants

End of the file. Technically not an error, but it's easier to process that way.

Bad input parameters provided.

Error while parsing the file/frame header.

Error while reading/writing the file.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<ParseIntError> for Error
[src]

Performs the conversion.

impl From<Utf8Error> for Error
[src]

Performs the conversion.