Enum substrait_validator::output::parse_result::Validity
source · [−]pub enum Validity {
Valid,
MaybeValid,
Invalid,
}Expand description
Validity of a plan.
Note that there is a one-to-one correspondence with Level. The only difference between Level and Validity is that the variant names for Level are more sensible in the context of a diagnostic, while the names for Validity are more sensible when talking about a validation result as a whole.
Variants
Valid
The plan is valid.
MaybeValid
The plan may or may not be valid; the validator was not able to prove or disprove validity.
Invalid
The plan is invalid.
Trait Implementations
impl Copy for Validity
impl StructuralPartialEq for Validity
Auto Trait Implementations
impl RefUnwindSafe for Validity
impl Send for Validity
impl Sync for Validity
impl Unpin for Validity
impl UnwindSafe for Validity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more