Enum riff_wave::ReadError [] [src]

pub enum ReadError {
    Format(FormatErrorKind),
    Io(Error),
}

Represents an error that occurred while reading a wave file.

Variants

Format(FormatErrorKind)

The file format is incorrect or unsupported.

Io(Error)

An IO error occurred.

Trait Implementations

impl Debug for ReadError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for ReadError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for ReadError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

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

impl From<Error> for ReadError
[src]

fn from(err: Error) -> ReadError

Performs the conversion.