Enum y4m::Error[][src]

pub enum Error {
    EOF,
    BadInput,
    UnknownColorspace,
    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.

Unknown colorspace (possibly just unimplemented)

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. Read more

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.

Auto Trait Implementations

impl Send for Error

impl Sync for Error