#[repr(u32)]pub enum ucl_error {
UCL_EOK = 0,
UCL_ESYNTAX = 1,
UCL_EIO = 2,
UCL_ESTATE = 3,
UCL_ENESTED = 4,
UCL_EMACRO = 5,
UCL_EINTERNAL = 6,
UCL_ESSL = 7,
UCL_EMERGE = 8,
}Expand description
The common error codes returned by ucl parser
Variants§
UCL_EOK = 0
< No error
UCL_ESYNTAX = 1
< Syntax error occurred during parsing
UCL_EIO = 2
< IO error occurred during parsing
UCL_ESTATE = 3
< Invalid state machine state
UCL_ENESTED = 4
< Input has too many recursion levels
UCL_EMACRO = 5
< Error processing a macro
UCL_EINTERNAL = 6
< Internal unclassified error
UCL_ESSL = 7
< SSL error
UCL_EMERGE = 8
< A merge error occurred
Trait Implementations§
impl Copy for ucl_error
impl Eq for ucl_error
impl StructuralPartialEq for ucl_error
Auto Trait Implementations§
impl Freeze for ucl_error
impl RefUnwindSafe for ucl_error
impl Send for ucl_error
impl Sync for ucl_error
impl Unpin for ucl_error
impl UnwindSafe for ucl_error
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