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§

source§

impl Clone for XmpError

source§

fn clone(&self) -> XmpError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for XmpError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<XmpError> for XmpError

source§

fn eq(&self, other: &XmpError) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for XmpError

source§

impl Eq for XmpError

source§

impl StructuralEq for XmpError

source§

impl StructuralPartialEq for XmpError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.