[][src]Enum uclicious_libucl_sys::ucl_error

#[repr(u32)]
pub enum ucl_error {
    UCL_EOK,
    UCL_ESYNTAX,
    UCL_EIO,
    UCL_ESTATE,
    UCL_ENESTED,
    UCL_EMACRO,
    UCL_EINTERNAL,
    UCL_ESSL,
    UCL_EMERGE,
}

The common error codes returned by ucl parser

Variants

UCL_EOK

< No error

UCL_ESYNTAX

< Syntax error occurred during parsing

UCL_EIO

< IO error occurred during parsing

UCL_ESTATE

< Invalid state machine state

UCL_ENESTED

< Input has too many recursion levels

UCL_EMACRO

< Error processing a macro

UCL_EINTERNAL

< Internal unclassified error

UCL_ESSL

< SSL error

UCL_EMERGE

< A merge error occurred

Trait Implementations

impl Clone for ucl_error[src]

impl Copy for ucl_error[src]

impl Debug for ucl_error[src]

impl Eq for ucl_error[src]

impl Hash for ucl_error[src]

impl PartialEq<ucl_error> for ucl_error[src]

impl StructuralEq for ucl_error[src]

impl StructuralPartialEq for ucl_error[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.