pub enum UnsupportedLevel {
Ignore,
Warn,
Raise,
Immediate,
}Expand description
Controls how the generator reacts when it encounters unsupported output.
Variants§
Ignore
Ignore unsupported diagnostics and continue generation.
Warn
Collect unsupported diagnostics and continue generation.
Raise
Collect unsupported diagnostics and raise after generation completes.
Immediate
Raise immediately when the first unsupported feature is encountered.
Trait Implementations§
Source§impl Clone for UnsupportedLevel
impl Clone for UnsupportedLevel
Source§fn clone(&self) -> UnsupportedLevel
fn clone(&self) -> UnsupportedLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnsupportedLevel
impl Debug for UnsupportedLevel
Source§impl Default for UnsupportedLevel
impl Default for UnsupportedLevel
Source§fn default() -> UnsupportedLevel
fn default() -> UnsupportedLevel
Returns the “default value” for a type. Read more
Source§impl PartialEq for UnsupportedLevel
impl PartialEq for UnsupportedLevel
impl Copy for UnsupportedLevel
impl Eq for UnsupportedLevel
impl StructuralPartialEq for UnsupportedLevel
Auto Trait Implementations§
impl Freeze for UnsupportedLevel
impl RefUnwindSafe for UnsupportedLevel
impl Send for UnsupportedLevel
impl Sync for UnsupportedLevel
impl Unpin for UnsupportedLevel
impl UnsafeUnpin for UnsupportedLevel
impl UnwindSafe for UnsupportedLevel
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