Enum alac::ReadError
[−]
[src]
pub enum ReadError { Io(Error), UnsupportedFormat, Format(Format, InvalidData), Decoder(InvalidData), }
An error when reading an ALAC file using a Reader
.
A ReadError::Decoder
will occur if the current packet is invalid. If more samples are read
the reader will skip to the next packet.
Variants
Io(Error)
UnsupportedFormat
Format(Format, InvalidData)
Decoder(InvalidData)
Trait Implementations
impl From<CafError> for ReadError
[src]
impl From<Error> for ReadError
[src]
impl Debug for ReadError
[src]
impl Error for ReadError
[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 Display for ReadError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more