#[repr(C)]pub enum Status {
Show 104 variants
Ok,
BadArg,
Invalid,
Unsupported,
Eof,
Io,
Oom,
A1lxEssential,
A1opNoEssential,
AlacBadMagicCookieSize,
AlacFlagsNonzero,
Av1cMissing,
BitReaderError,
BoxBadSize,
BoxBadWideSize,
CheckParserStateErr,
ColrBadQuantity,
ColrBadSize,
ColrBadType,
ColrReservedNonzero,
ConstructionMethod,
CttsBadSize,
CttsBadVersion,
DflaBadMetadataBlockSize,
DflaFlagsNonzero,
DflaMissingMetadata,
DflaStreamInfoBadSize,
DflaStreamInfoNotFirst,
DopsChannelMappingWriteErr,
DopsOpusHeadWriteErr,
ElstBadVersion,
EsdsBadAudioSampleEntry,
EsdsBadDescriptor,
EsdsDecSpecificIntoTagQuantity,
FtypBadSize,
FtypNotFirst,
HdlrNameNoNul,
HdlrNameNotUtf8,
HdlrNotFirst,
HdlrPredefinedNonzero,
HdlrReservedNonzero,
HdlrTypeNotPict,
HdlrUnsupportedVersion,
HdrlBadQuantity,
IdatBadQuantity,
IdatMissing,
IinfBadChild,
IinfBadQuantity,
IlocBadConstructionMethod,
IlocBadExtent,
IlocBadExtentCount,
IlocBadFieldSize,
IlocBadQuantity,
IlocBadSize,
IlocDuplicateItemId,
IlocNotFound,
IlocOffsetOverflow,
ImageItemType,
InfeFlagsNonzero,
InvalidUtf8,
IpcoIndexOverflow,
IpmaBadIndex,
IpmaBadItemOrder,
IpmaBadQuantity,
IpmaBadVersion,
IpmaDuplicateItemId,
IpmaFlagsNonzero,
IpmaIndexZeroNoEssential,
IpmaTooBig,
IpmaTooSmall,
IprpBadChild,
IprpBadQuantity,
IprpConflict,
IrefBadQuantity,
IrefRecursion,
IspeMissing,
ItemTypeMissing,
LselNoEssential,
MdhdBadTimescale,
MdhdBadVersion,
MehdBadVersion,
MetaBadQuantity,
MissingAvifOrAvisBrand,
MissingMif1Brand,
MoovBadQuantity,
MoovMissing,
MultipleAlpha,
MvhdBadTimescale,
MvhdBadVersion,
NoImage,
PitmBadQuantity,
PitmMissing,
PitmNotFound,
PixiBadChannelCount,
PixiMissing,
PsshSizeOverflow,
ReadBufErr,
SchiQuantity,
StsdBadAudioSampleEntry,
StsdBadVideoSampleEntry,
TkhdBadVersion,
TxformBeforeIspe,
TxformNoEssential,
TxformOrder,
}
Expand description
The return value to the C API
Any detail that needs to be communicated to the caller must be encoded here
since the Error
type’s associated data is part of the FFI.
Variants§
Ok
BadArg
Invalid
Unsupported
Eof
Io
Oom
A1lxEssential
A1opNoEssential
AlacBadMagicCookieSize
AlacFlagsNonzero
Av1cMissing
BitReaderError
BoxBadSize
BoxBadWideSize
CheckParserStateErr
ColrBadQuantity
ColrBadSize
ColrBadType
ColrReservedNonzero
ConstructionMethod
CttsBadSize
CttsBadVersion
DflaBadMetadataBlockSize
DflaFlagsNonzero
DflaMissingMetadata
DflaStreamInfoBadSize
DflaStreamInfoNotFirst
DopsChannelMappingWriteErr
DopsOpusHeadWriteErr
ElstBadVersion
EsdsBadAudioSampleEntry
EsdsBadDescriptor
EsdsDecSpecificIntoTagQuantity
FtypBadSize
FtypNotFirst
HdlrNameNoNul
HdlrNameNotUtf8
HdlrNotFirst
HdlrPredefinedNonzero
HdlrReservedNonzero
HdlrTypeNotPict
HdlrUnsupportedVersion
HdrlBadQuantity
IdatBadQuantity
IdatMissing
IinfBadChild
IinfBadQuantity
IlocBadConstructionMethod
IlocBadExtent
IlocBadExtentCount
IlocBadFieldSize
IlocBadQuantity
IlocBadSize
IlocDuplicateItemId
IlocNotFound
IlocOffsetOverflow
ImageItemType
InfeFlagsNonzero
InvalidUtf8
IpcoIndexOverflow
IpmaBadIndex
IpmaBadItemOrder
IpmaBadQuantity
IpmaBadVersion
IpmaDuplicateItemId
IpmaFlagsNonzero
IpmaIndexZeroNoEssential
IpmaTooBig
IpmaTooSmall
IprpBadChild
IprpBadQuantity
IprpConflict
IrefBadQuantity
IrefRecursion
IspeMissing
ItemTypeMissing
LselNoEssential
MdhdBadTimescale
MdhdBadVersion
MehdBadVersion
MetaBadQuantity
MissingAvifOrAvisBrand
MissingMif1Brand
MoovBadQuantity
MoovMissing
MultipleAlpha
MvhdBadTimescale
MvhdBadVersion
NoImage
PitmBadQuantity
PitmMissing
PitmNotFound
PixiBadChannelCount
PixiMissing
PsshSizeOverflow
ReadBufErr
SchiQuantity
StsdBadAudioSampleEntry
StsdBadVideoSampleEntry
TkhdBadVersion
TxformBeforeIspe
TxformNoEssential
TxformOrder
Trait Implementations§
source§impl From<Status> for Error
impl From<Status> for Error
For convenience of creating an error for an unsupported feature which we want to communicate the specific feature back to the C API caller
source§impl PartialEq<Status> for Status
impl PartialEq<Status> for Status
impl Copy for Status
impl Eq for Status
impl StructuralEq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more