Enum exempi_sys::XmpError

source ·
#[repr(i32)]
pub enum XmpError {
Show 37 variants Unknown, TBD, Unavailable, BadObject, BadParam, BadValue, AssertFailure, EnforceFailure, Unimplemented, InternalFailure, Deprecated, ExternalFailure, UserAbort, StdException, UnknownException, NoMemory, BadSchema, BadXPath, BadOptions, BadIndex, BadIterPosition, BadParse, BadSerialize, BadFileFormat, NoFileHandler, TooLargeForJPEG, BadXML, BadRDF, BadXMP, EmptyIterator, BadUnicode, BadTIFF, BadJPEG, BadPSD, BadPSIR, BadIPTC, BadMPEG,
}
Expand description

XMP errors.

Variants

Unknown

Generic unknown error.

TBD

Generic undefined error.

Unavailable

Generic unavailable error.

BadObject

Generic bad object error.

BadParam

Generic bad parameter error.

BadValue

Generic bad value error.

AssertFailure

Generic assertion failure.

EnforceFailure

Generic enforcement failure.

Unimplemented

Generic unimplemented error.

InternalFailure

Generic internal failure.

Deprecated

Generic deprecated error.

ExternalFailure

Generic external failure.

UserAbort

Generic user abort error.

StdException

Generic standard exception.

UnknownException

Generic unknown exception.

NoMemory

Generic out-of-memory error.

BadSchema

Bad schema parameter.

BadXPath

Bad XPath parameter.

BadOptions

Bad options parameter.

BadIndex

Bad index parameter.

BadIterPosition

Bad iteration position.

BadParse

XML parsing error.

BadSerialize

Serialization error.

BadFileFormat

File format error.

NoFileHandler

No file handler found for format.

TooLargeForJPEG

Data too large for JPEG file format.

BadXML

XML format error.

BadRDF

RDF format error.

BadXMP

XMP format error.

EmptyIterator

Empty iterator.

BadUnicode

Unicode error.

BadTIFF

TIFF format error.

BadJPEG

JPEG format error.

BadPSD

PSD format error.

BadPSIR

PSIR format error.

BadIPTC

IPTC format error.

BadMPEG

MPEG format error.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.