Enum vorbisfile::OVError [-]  [+] [src]

pub enum OVError {
    EndOfStream,
    StreamInterrupted,
    ReadError,
    InternalFault,
    NotImplemented,
    InvalidArgument,
    NotVorbis,
    InvalidHeader,
    UnsupportedVersion,
    CorruptLink,
    NotSeekable,
}

Decode error.

Variants

EndOfStream

Reached end of file.

StreamInterrupted

Encountered missing or corrupt data.

Recovery from this error is usually automatic and is returned for informational purposes only.

ReadError

I/O error while reading compressed data to decode.

InternalFault

Internal inconsistency in encode or decode state. Recovery impossible.

NotImplemented

Feature not implemented.

InvalidArgument

User passed an invalid argument to a function.

NotVorbis

Provided data is not recognized as Ogg Vorbis.

InvalidHeader

Provided data appears to be Ogg Vorbis but has a corrupt or indecipherable header.

UnsupportedVersion

Bitstream format revision is not supported.

The specified Vorbis link exists but is corrupt.

NotSeekable

The stream is not seekable.

Trait Implementations

impl Error for OVError

fn description(&self) -> &str

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

impl Display for OVError

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

impl Copy for OVError

Derived Implementations

impl Clone for OVError

fn clone(&self) -> OVError

fn clone_from(&mut self, source: &Self)

impl Debug for OVError

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