Enum claxon::Error[][src]

pub enum Error {
    IoError(Error),
    FormatError(&'static str),
    Unsupported(&'static str),
}

An error that prevents succesful decoding of the FLAC stream.

Variants

Not a decoding error, but a problem with the underlying IO.

An ill-formed FLAC stream was encountered.

A currently unsupported feature of the FLAC format was encountered.

Claxon reads the FLAC format as it was with FLAC 1.3.1. Values in the specification that are marked as reserved will cause a FormatError; Unsupported is used for features that are in the specification, but which are not implemented by Claxon.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<Error> for Error
[src]

Performs the conversion.

impl From<FromUtf8Error> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error