Enum libheif_rs::HeifErrorSubCode
source · #[non_exhaustive]#[repr(C)]pub enum HeifErrorSubCode {
Show 64 variants
Unspecified,
EndOfData,
InvalidBoxSize,
NoFtypBox,
NoIdatBox,
NoMetaBox,
NoHdlrBox,
NoHvccBox,
NoPitmBox,
NoIpcoBox,
NoIpmaBox,
NoIlocBox,
NoIinfBox,
NoIprpBox,
NoIrefBox,
NoPictHandler,
IpmaBoxReferencesNonExistingProperty,
NoPropertiesAssignedToItem,
NoItemData,
InvalidGridData,
MissingGridImages,
InvalidCleanAperture,
InvalidOverlayData,
OverlayImageOutsideOfCanvas,
AuxiliaryImageTypeUnspecified,
NoOrInvalidPrimaryItem,
NoInfeBox,
UnknownColorProfileType,
WrongTileImageChromaFormat,
InvalidFractionalNumber,
InvalidImageSize,
InvalidPixiBox,
NoAv1cBox,
WrongTileImagePixelDepth,
SecurityLimitExceeded,
NonExistingItemReferenced,
NullPointerArgument,
NonExistingImageChannelReferenced,
UnsupportedPluginVersion,
UnsupportedWriterVersion,
UnsupportedParameter,
InvalidParameterValue,
UnsupportedCodec,
UnsupportedImageType,
UnsupportedDataVersion,
UnsupportedColorConversion,
UnsupportedItemConstructionMethod,
UnsupportedBitDepth,
CannotWriteOutputData,
UnknownNclxColorPrimaries,
UnknownNclxTransferCharacteristics,
UnknownNclxMatrixCoefficients,
UnsupportedHeaderCompressionMethod,
PluginLoadingError,
PluginIsNotLoaded,
CannotReadPluginDirectory,
InvalidRegionData,
InvalidProperty,
ItemReferenceCycle,
EncoderInitialization,
EncoderEncoding,
EncoderCleanup,
TooManyRegions,
Unknown,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unspecified
EndOfData
InvalidBoxSize
NoFtypBox
NoIdatBox
NoMetaBox
NoHdlrBox
NoHvccBox
NoPitmBox
NoIpcoBox
NoIpmaBox
NoIlocBox
NoIinfBox
NoIprpBox
NoIrefBox
NoPictHandler
IpmaBoxReferencesNonExistingProperty
NoPropertiesAssignedToItem
NoItemData
InvalidGridData
MissingGridImages
InvalidCleanAperture
InvalidOverlayData
OverlayImageOutsideOfCanvas
AuxiliaryImageTypeUnspecified
NoOrInvalidPrimaryItem
NoInfeBox
UnknownColorProfileType
WrongTileImageChromaFormat
InvalidFractionalNumber
InvalidImageSize
InvalidPixiBox
NoAv1cBox
WrongTileImagePixelDepth
SecurityLimitExceeded
NonExistingItemReferenced
NullPointerArgument
NonExistingImageChannelReferenced
UnsupportedPluginVersion
UnsupportedWriterVersion
UnsupportedParameter
InvalidParameterValue
UnsupportedCodec
UnsupportedImageType
UnsupportedDataVersion
UnsupportedColorConversion
UnsupportedItemConstructionMethod
UnsupportedBitDepth
CannotWriteOutputData
UnknownNclxColorPrimaries
UnknownNclxTransferCharacteristics
UnknownNclxMatrixCoefficients
UnsupportedHeaderCompressionMethod
PluginLoadingError
PluginIsNotLoaded
CannotReadPluginDirectory
InvalidRegionData
InvalidProperty
ItemReferenceCycle
EncoderInitialization
EncoderEncoding
EncoderCleanup
TooManyRegions
Unknown
This value is used when library libheif returns unknown value of error sub-code.
Implementations§
Trait Implementations§
source§impl Clone for HeifErrorSubCode
impl Clone for HeifErrorSubCode
source§fn clone(&self) -> HeifErrorSubCode
fn clone(&self) -> HeifErrorSubCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for HeifErrorSubCode
impl Debug for HeifErrorSubCode
impl Copy for HeifErrorSubCode
Auto Trait Implementations§
impl RefUnwindSafe for HeifErrorSubCode
impl Send for HeifErrorSubCode
impl Sync for HeifErrorSubCode
impl Unpin for HeifErrorSubCode
impl UnwindSafe for HeifErrorSubCode
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