pub enum AssertionOutcome {
Passed,
Failed,
NotEvaluated,
}Expand description
Complex-type assertion evaluation outcome (XSD 1.1)
Covers only the buffered complex-type assertion path. Simple-type
assertion facet failures are reflected in validity: Invalid with
cvc-assertion constraint through the error sink.
Variants§
Passed
All assertions evaluated and passed
Failed
One or more assertions failed (includes compile/eval/EBV errors)
NotEvaluated
Assertions exist but were not evaluated (PROCESS_ASSERTIONS not set, or evaluation deferred to an outer asserted element)
Trait Implementations§
Source§impl Clone for AssertionOutcome
impl Clone for AssertionOutcome
Source§fn clone(&self) -> AssertionOutcome
fn clone(&self) -> AssertionOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AssertionOutcome
Source§impl Debug for AssertionOutcome
impl Debug for AssertionOutcome
impl Eq for AssertionOutcome
Source§impl PartialEq for AssertionOutcome
impl PartialEq for AssertionOutcome
Source§fn eq(&self, other: &AssertionOutcome) -> bool
fn eq(&self, other: &AssertionOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AssertionOutcome
Auto Trait Implementations§
impl Freeze for AssertionOutcome
impl RefUnwindSafe for AssertionOutcome
impl Send for AssertionOutcome
impl Sync for AssertionOutcome
impl Unpin for AssertionOutcome
impl UnsafeUnpin for AssertionOutcome
impl UnwindSafe for AssertionOutcome
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