Enum lewton::VorbisError
[−]
[src]
pub enum VorbisError { ReadError(Error), BadAudio(AudioReadError), BadHeader(HeaderReadError), OggError(OggReadError), }
Errors that can occur during decoding
Variants
ReadError(Error)
BadAudio(AudioReadError)
BadHeader(HeaderReadError)
OggError(OggReadError)
Trait Implementations
impl Debug for VorbisError
[src]
impl Error for VorbisError
[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 Display for VorbisError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl From<Error> for VorbisError
[src]
fn from(err: Error) -> VorbisError
Performs the conversion.
impl From<AudioReadError> for VorbisError
[src]
fn from(err: AudioReadError) -> VorbisError
Performs the conversion.
impl From<HeaderReadError> for VorbisError
[src]
fn from(err: HeaderReadError) -> VorbisError
Performs the conversion.
impl From<OggReadError> for VorbisError
[src]
fn from(err: OggReadError) -> VorbisError
Performs the conversion.