[][src]Enum uclicious_libucl_sys::ucl_schema_error_code

#[repr(u32)]
pub enum ucl_schema_error_code {
    UCL_SCHEMA_OK,
    UCL_SCHEMA_TYPE_MISMATCH,
    UCL_SCHEMA_INVALID_SCHEMA,
    UCL_SCHEMA_MISSING_PROPERTY,
    UCL_SCHEMA_CONSTRAINT,
    UCL_SCHEMA_MISSING_DEPENDENCY,
    UCL_SCHEMA_EXTERNAL_REF_MISSING,
    UCL_SCHEMA_EXTERNAL_REF_INVALID,
    UCL_SCHEMA_INTERNAL_ERROR,
    UCL_SCHEMA_UNKNOWN,
}

Used to define UCL schema error

Variants

UCL_SCHEMA_OK

< no error

UCL_SCHEMA_TYPE_MISMATCH

< type of object is incorrect

UCL_SCHEMA_INVALID_SCHEMA

< schema is invalid

UCL_SCHEMA_MISSING_PROPERTY

< one or more missing properties

UCL_SCHEMA_CONSTRAINT

< constraint found

UCL_SCHEMA_MISSING_DEPENDENCY

< missing dependency

UCL_SCHEMA_EXTERNAL_REF_MISSING

< cannot fetch external ref

UCL_SCHEMA_EXTERNAL_REF_INVALID

< invalid external ref

UCL_SCHEMA_INTERNAL_ERROR

< something bad happened

UCL_SCHEMA_UNKNOWN

< generic error

Trait Implementations

impl Clone for ucl_schema_error_code[src]

impl Copy for ucl_schema_error_code[src]

impl Debug for ucl_schema_error_code[src]

impl Eq for ucl_schema_error_code[src]

impl Hash for ucl_schema_error_code[src]

impl PartialEq<ucl_schema_error_code> for ucl_schema_error_code[src]

impl StructuralEq for ucl_schema_error_code[src]

impl StructuralPartialEq for ucl_schema_error_code[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.