pub enum ErrorKind {
}Expand description
Kinds of errors that may occur while performing metadata operations.
Variants§
AtomNotFound(Fourcc)
An atom could not be found. Contains the atom’s identifier.
DescriptorNotFound(u8)
A descriptor could not be found. Contains the descriptor’s tag.
NoFtyp
No filetype (ftyp) atom, which indicates na MPEG-4 file, could be found.
InvalidAtomSize
The size of an atom is smaller than its header, or otherwise unsound.
SizeMismatch
The content of an atom suggests another length than its header.
AtomSizeOutOfBounds
The header of an atom specifies a size that either exceeds the parent atom or the file.
InvalidSampleTable
The sample table atom (stbl) contains inconsistent data.
UnknownChannelConfig(u8)
The ChannelConfig code is unknown. Contains the unknown code.
UnknownMediaType(u8)
The MediaType code is unknown. Contains the unknown code.
UnknownSampleRate(u8)
The SampleRate index is unknown. Contains the unknown index.
UnknownVersion(u8)
Either the version byte of an atom or a descriptor is unknown. Contains the unknown version.
Utf8StringDecoding
An invalid utf-8 string was found.
Utf16StringDecoding
An invalid utf-16 string was found.
Io(Error)
An IO error has occurred.