Enum matroska_demuxer::DemuxError[][src]

pub enum DemuxError {
Show variants IoError(Error), FromUtf8Error(FromUtf8Error), TryFromIntError(TryFromIntError), InvalidEbmlElementId, InvalidEbmlDataSize, InvalidEbmlHeader(String), WrongFloatSize(u64), WrongIntegerSize(u64), WrongDateSize(u64), UnsupportedDocType(String), UnsupportedDocTypeReadVersion(u64), UnexpectedElement((ElementId, ElementId)), UnexpectedDataType, ElementNotFound(ElementId), CantFindCluster, NonZeroValueIsZero(ElementId), PositiveValueIsNotPositive,
}

Errors that can occur when demuxing Matroska files.

Variants

IoError(Error)

A std::io::Error.

FromUtf8Error(FromUtf8Error)

A std::string::FromUtf8Error.

TryFromIntError(TryFromIntError)

A TryFromIntError.

InvalidEbmlElementId

An invalid EBML Element ID was found.

InvalidEbmlDataSize

An invalid EBML data size was found.

InvalidEbmlHeader(String)

An invalid EBML header was found.

WrongFloatSize(u64)

Wrong float size.

WrongIntegerSize(u64)

Wrong integer size.

WrongDateSize(u64)

Wrong date size.

UnsupportedDocType(String)

Unsupported DocType.

UnsupportedDocTypeReadVersion(u64)

Unsupported DocTypeReadVersion.

UnexpectedElement((ElementId, ElementId))

Unexpected element found.

UnexpectedDataType

Unexpected data type found.

ElementNotFound(ElementId)

Can’t find the expected element.

CantFindCluster

Can’t find a cluster element.

NonZeroValueIsZero(ElementId)

A value that should not be zero was zero.

PositiveValueIsNotPositive

A value that should be positive is not positive.

Trait Implementations

impl Debug for DemuxError[src]

impl Display for DemuxError[src]

impl Error for DemuxError[src]

impl From<Error> for DemuxError[src]

impl From<FromUtf8Error> for DemuxError[src]

impl From<TryFromIntError> for DemuxError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.