Enum ogg::reading::OggReadError [−][src]
pub enum OggReadError { NoCapturePatternFound, InvalidStreamStructVer(u8), HashMismatch(u32, u32), ReadError(Error), InvalidData, }
Error that can be raised when decoding an Ogg transport.
Variants
NoCapturePatternFound
The capture pattern for a new page was not found where one was expected.
InvalidStreamStructVer(u8)
Invalid stream structure version, with the given one attached.
HashMismatch(u32, u32)
Mismatch of the hash value with (expected, calculated) value.
ReadError(Error)
I/O error occured.
InvalidData
Some constraint required by the spec was not met.
Trait Implementations
impl Debug for OggReadError
[src]
impl Debug for OggReadError
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 OggReadError
[src]
impl Error for OggReadError
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 OggReadError
[src]
impl Display for OggReadError
fn fmt(&self, fmt: &mut Formatter) -> Result<(), FmtError>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), FmtError>
Formats the value using the given formatter. Read more
impl From<Error> for OggReadError
[src]
impl From<Error> for OggReadError
fn from(err: Error) -> OggReadError
[src]
fn from(err: Error) -> OggReadError
Performs the conversion.
Auto Trait Implementations
impl Send for OggReadError
impl Send for OggReadError
impl Sync for OggReadError
impl Sync for OggReadError