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
IoError(Error)
Not a decoding error, but a problem with the underlying IO.
FormatError(&'static str)
An ill-formed FLAC stream was encountered.
Unsupported(&'static str)
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]
impl PartialEq for Error
[src]
fn eq(&self, other: &Error) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Display for Error
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Error for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<Error> for Error
[src]
impl From<FromUtf8Error> for Error
[src]
fn from(_: FromUtf8Error) -> Error
[src]
Performs the conversion.