pub enum ValidationLevel {
None,
Basic,
Full,
Strict,
}Expand description
Validation strictness level.
Variants§
None
No validation.
Basic
Basic structural validation.
Full
Full type checking and SSA validation.
Strict
Strict validation with warnings as errors.
Trait Implementations§
Source§impl Clone for ValidationLevel
impl Clone for ValidationLevel
Source§fn clone(&self) -> ValidationLevel
fn clone(&self) -> ValidationLevel
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 ValidationLevel
impl Debug for ValidationLevel
Source§impl Ord for ValidationLevel
impl Ord for ValidationLevel
Source§fn cmp(&self, other: &ValidationLevel) -> Ordering
fn cmp(&self, other: &ValidationLevel) -> 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 ValidationLevel
impl PartialEq for ValidationLevel
Source§impl PartialOrd for ValidationLevel
impl PartialOrd for ValidationLevel
impl Copy for ValidationLevel
impl Eq for ValidationLevel
impl StructuralPartialEq for ValidationLevel
Auto Trait Implementations§
impl Freeze for ValidationLevel
impl RefUnwindSafe for ValidationLevel
impl Send for ValidationLevel
impl Sync for ValidationLevel
impl Unpin for ValidationLevel
impl UnwindSafe for ValidationLevel
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