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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<Error> for Error
[src]
impl From<ParseIntError> for Error
[src]
fn from(_: ParseIntError) -> Error
[src]
Performs the conversion.