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.
CorruptLink
The specified Vorbis link exists but is corrupt.
NotSeekable
The stream is not seekable.
Trait Implementations
impl Debug for OVError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for OVError
[src]
fn clone(&self) -> OVError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Error for OVError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more
impl Display for OVError
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more