Enum lewton::OggReadError [] [src]

pub enum OggReadError {
    NoCapturePatternFound,
    InvalidStreamStructVer(u8),
    HashMismatch(u32u32),
    ReadError(Error),
    InvalidData,
}

Error that can be raised when decoding an Ogg transport.

Variants

The capture pattern for a new page was not found where one was expected.

Invalid stream structure version, with the given one attached.

Mismatch of the hash value with (expected, calculated) value.

I/O error occured.

Some constraint required by the spec was not met.

Trait Implementations

impl Error for OggReadError
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl From<Error> for OggReadError
[src]

[src]

Performs the conversion.

impl Debug for OggReadError
[src]

[src]

Formats the value using the given formatter.

impl Display for OggReadError
[src]

[src]

Formats the value using the given formatter. Read more