pub enum UnsupportedPolicy {
Ignore,
Error,
}Expand description
How the engine treats SHACL features it only partially supports (rather than silently producing a best-effort, possibly wrong, result).
Variants§
Ignore
Best-effort: run anyway and accept that the result may be unreliable. This preserves the historical behavior, so it is the default.
Error
Fail loudly: refuse to evaluate the unsupported construct so the failure surfaces (e.g. as a constraint error) instead of a silent wrong answer.
Trait Implementations§
Source§impl Clone for UnsupportedPolicy
impl Clone for UnsupportedPolicy
Source§fn clone(&self) -> UnsupportedPolicy
fn clone(&self) -> UnsupportedPolicy
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 UnsupportedPolicy
Source§impl Debug for UnsupportedPolicy
impl Debug for UnsupportedPolicy
Source§impl Default for UnsupportedPolicy
impl Default for UnsupportedPolicy
Source§fn default() -> UnsupportedPolicy
fn default() -> UnsupportedPolicy
Returns the “default value” for a type. Read more
impl Eq for UnsupportedPolicy
Source§impl PartialEq for UnsupportedPolicy
impl PartialEq for UnsupportedPolicy
impl StructuralPartialEq for UnsupportedPolicy
Auto Trait Implementations§
impl Freeze for UnsupportedPolicy
impl RefUnwindSafe for UnsupportedPolicy
impl Send for UnsupportedPolicy
impl Sync for UnsupportedPolicy
impl Unpin for UnsupportedPolicy
impl UnsafeUnpin for UnsupportedPolicy
impl UnwindSafe for UnsupportedPolicy
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.