#[repr(u8)]pub enum ParseErrorLevel {
Note = 1,
Warn = 2,
Error = 3,
Fatal = 4,
}
Variants§
Note = 1
Likely to be an mistake and should be noticed.
The generator may generate code that contains this kind of mistakes.
Warn = 2
Should be a mistake but the compiler can guess a good way to generate proper code.
Error = 3
An error that prevents a successful compilation, but can still continue to find more errors.
Fatal = 4
A very serious error that can cause continuous compiling issues, such as miss matched braces.
Trait Implementations§
Source§impl Clone for ParseErrorLevel
impl Clone for ParseErrorLevel
Source§fn clone(&self) -> ParseErrorLevel
fn clone(&self) -> ParseErrorLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for ParseErrorLevel
impl<'de> Deserialize<'de> for ParseErrorLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ParseErrorLevel
impl Hash for ParseErrorLevel
Source§impl Ord for ParseErrorLevel
impl Ord for ParseErrorLevel
Source§fn cmp(&self, other: &ParseErrorLevel) -> Ordering
fn cmp(&self, other: &ParseErrorLevel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ParseErrorLevel
impl PartialEq for ParseErrorLevel
Source§impl PartialOrd for ParseErrorLevel
impl PartialOrd for ParseErrorLevel
Source§impl Serialize for ParseErrorLevel
impl Serialize for ParseErrorLevel
impl Eq for ParseErrorLevel
impl StructuralPartialEq for ParseErrorLevel
Auto Trait Implementations§
impl Freeze for ParseErrorLevel
impl RefUnwindSafe for ParseErrorLevel
impl Send for ParseErrorLevel
impl Sync for ParseErrorLevel
impl Unpin for ParseErrorLevel
impl UnwindSafe for ParseErrorLevel
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