Enum claxon::Error [−][src]
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 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 PartialEq for Error
[src]
impl PartialEq for Error
fn eq(&self, other: &Error) -> bool
[src]
fn eq(&self, other: &Error) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<FromUtf8Error> for Error
[src]
impl From<FromUtf8Error> for Error
fn from(_: FromUtf8Error) -> Error
[src]
fn from(_: FromUtf8Error) -> Error
Performs the conversion.