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