#[non_exhaustive]#[repr(C)]pub enum HeifErrorSubCode {
Show 77 variants
Unspecified = 0,
EndOfData = 100,
InvalidBoxSize = 101,
NoFtypBox = 102,
NoIdatBox = 103,
NoMetaBox = 104,
NoHdlrBox = 105,
NoHvccBox = 106,
NoPitmBox = 107,
NoIpcoBox = 108,
NoIpmaBox = 109,
NoIlocBox = 110,
NoIinfBox = 111,
NoIprpBox = 112,
NoIrefBox = 113,
NoPictHandler = 114,
IpmaBoxReferencesNonExistingProperty = 115,
NoPropertiesAssignedToItem = 116,
NoItemData = 117,
InvalidGridData = 118,
MissingGridImages = 119,
InvalidCleanAperture = 120,
InvalidOverlayData = 121,
OverlayImageOutsideOfCanvas = 122,
AuxiliaryImageTypeUnspecified = 123,
NoOrInvalidPrimaryItem = 124,
NoInfeBox = 125,
UnknownColorProfileType = 126,
WrongTileImageChromaFormat = 127,
InvalidFractionalNumber = 128,
InvalidImageSize = 129,
InvalidPixiBox = 130,
NoAv1cBox = 131,
WrongTileImagePixelDepth = 132,
SecurityLimitExceeded = 1_000,
NonExistingItemReferenced = 2_000,
NullPointerArgument = 2_001,
NonExistingImageChannelReferenced = 2_002,
UnsupportedPluginVersion = 2_003,
UnsupportedWriterVersion = 2_004,
UnsupportedParameter = 2_005,
InvalidParameterValue = 2_006,
UnsupportedCodec = 3_000,
UnsupportedImageType = 3_001,
UnsupportedDataVersion = 3_002,
UnsupportedColorConversion = 3_003,
UnsupportedItemConstructionMethod = 3_004,
UnsupportedBitDepth = 4_000,
CannotWriteOutputData = 5_000,
UnknownNclxColorPrimaries = 133,
UnknownNclxTransferCharacteristics = 134,
UnknownNclxMatrixCoefficients = 135,
UnsupportedHeaderCompressionMethod = 3_005,
PluginLoadingError = 6_000,
PluginIsNotLoaded = 6_001,
CannotReadPluginDirectory = 6_002,
InvalidRegionData = 136,
InvalidProperty = 2_007,
ItemReferenceCycle = 2_008,
EncoderInitialization = 5_001,
EncoderEncoding = 5_002,
EncoderCleanup = 5_003,
TooManyRegions = 5_004,
NoIspeProperty = 137,
CameraIntrinsicMatrixUndefined = 138,
CameraExtrinsicMatrixUndefined = 139,
InvalidJ2kCodeStream = 140,
NoVvccBox = 141,
NoIcbrBox = 142,
DecompressionInvalidData = 150,
CompressionInitialisationError = 1_001,
UnsupportedGenericCompressionMethod = 3_006,
NoMatchingDecoderInstalled = 6_003,
NoAvccBox = 143,
InvalidMiniBox = 149,
UnsupportedEssentialProperty = 3_007,
Unknown = 3008,
}
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 = 0
EndOfData = 100
InvalidBoxSize = 101
NoFtypBox = 102
NoIdatBox = 103
NoMetaBox = 104
NoHdlrBox = 105
NoHvccBox = 106
NoPitmBox = 107
NoIpcoBox = 108
NoIpmaBox = 109
NoIlocBox = 110
NoIinfBox = 111
NoIprpBox = 112
NoIrefBox = 113
NoPictHandler = 114
IpmaBoxReferencesNonExistingProperty = 115
NoPropertiesAssignedToItem = 116
NoItemData = 117
InvalidGridData = 118
MissingGridImages = 119
InvalidCleanAperture = 120
InvalidOverlayData = 121
OverlayImageOutsideOfCanvas = 122
AuxiliaryImageTypeUnspecified = 123
NoOrInvalidPrimaryItem = 124
NoInfeBox = 125
UnknownColorProfileType = 126
WrongTileImageChromaFormat = 127
InvalidFractionalNumber = 128
InvalidImageSize = 129
InvalidPixiBox = 130
NoAv1cBox = 131
WrongTileImagePixelDepth = 132
SecurityLimitExceeded = 1_000
NonExistingItemReferenced = 2_000
NullPointerArgument = 2_001
NonExistingImageChannelReferenced = 2_002
UnsupportedPluginVersion = 2_003
UnsupportedWriterVersion = 2_004
UnsupportedParameter = 2_005
InvalidParameterValue = 2_006
UnsupportedCodec = 3_000
UnsupportedImageType = 3_001
UnsupportedDataVersion = 3_002
UnsupportedColorConversion = 3_003
UnsupportedItemConstructionMethod = 3_004
UnsupportedBitDepth = 4_000
CannotWriteOutputData = 5_000
UnknownNclxColorPrimaries = 133
UnknownNclxTransferCharacteristics = 134
UnknownNclxMatrixCoefficients = 135
UnsupportedHeaderCompressionMethod = 3_005
PluginLoadingError = 6_000
PluginIsNotLoaded = 6_001
CannotReadPluginDirectory = 6_002
InvalidRegionData = 136
InvalidProperty = 2_007
ItemReferenceCycle = 2_008
EncoderInitialization = 5_001
EncoderEncoding = 5_002
EncoderCleanup = 5_003
TooManyRegions = 5_004
NoIspeProperty = 137
Available on crate feature
v1_18
only.CameraIntrinsicMatrixUndefined = 138
Available on crate feature
v1_18
only.CameraExtrinsicMatrixUndefined = 139
Available on crate feature
v1_18
only.InvalidJ2kCodeStream = 140
Available on crate feature
v1_18
only.NoVvccBox = 141
Available on crate feature
v1_18
only.NoIcbrBox = 142
Available on crate feature
v1_18
only.DecompressionInvalidData = 150
Available on crate feature
v1_18
only.CompressionInitialisationError = 1_001
Available on crate feature
v1_18
only.UnsupportedGenericCompressionMethod = 3_006
Available on crate feature
v1_18
only.NoMatchingDecoderInstalled = 6_003
Available on crate feature
v1_18
only.NoAvccBox = 143
Available on crate feature
v1_19
only.InvalidMiniBox = 149
Available on crate feature
v1_19
only.UnsupportedEssentialProperty = 3_007
Available on crate feature
v1_19
only.Unknown = 3008
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 duplicate 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 Freeze for HeifErrorSubCode
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