Enum claxon::Error [] [src]

pub enum Error {
    IoError(Error),
    FormatError(&'static str),
    TooWide,
    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.

The audio stream has more bits per sample than the provided sample buffer to decode into.

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.

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.

impl Error for Error
[src]

A short description of the error. Read more

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

impl From<Error> for Error
[src]

Performs the conversion.