Enum y4m::Error [−][src]
pub enum Error { EOF, BadInput, UnknownColorspace, ParseError, IoError(Error), }
Both encoding and decoding errors.
Variants
EOF
End of the file. Technically not an error, but it's easier to process that way.
BadInput
Bad input parameters provided.
UnknownColorspace
Unknown colorspace (possibly just unimplemented)
ParseError
Error while parsing the file/frame header.
IoError(Error)
Error while reading/writing the file.
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<ParseIntError> for Error
[src]
impl From<ParseIntError> for Error
fn from(_: ParseIntError) -> Error
[src]
fn from(_: ParseIntError) -> Error
Performs the conversion.
impl From<Utf8Error> for Error
[src]
impl From<Utf8Error> for Error