#[non_exhaustive]pub enum StandardApiReasoningError {
Ontology(OntologyError),
Rules(RuleEngineError),
UnsupportedApiSurface {
surface: String,
},
UnsupportedVisibilityPair {
pair: String,
},
}Expand description
Failures while constructing or installing the standard API profile.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ontology(OntologyError)
An ontology definition or relationship was invalid or conflicted.
Rules(RuleEngineError)
A reasoning rule was invalid or conflicted.
UnsupportedApiSurface
The shared vocabulary contains an API surface that this profile has not explicitly mapped to a deterministic rule.
UnsupportedVisibilityPair
The shared vocabulary contains a visibility pair that this profile has not explicitly mapped to a deterministic boundary rule.
Trait Implementations§
Source§impl Debug for StandardApiReasoningError
impl Debug for StandardApiReasoningError
Source§impl Display for StandardApiReasoningError
impl Display for StandardApiReasoningError
Source§impl Error for StandardApiReasoningError
impl Error for StandardApiReasoningError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<OntologyError> for StandardApiReasoningError
impl From<OntologyError> for StandardApiReasoningError
Source§fn from(source: OntologyError) -> Self
fn from(source: OntologyError) -> Self
Converts to this type from the input type.
Source§impl From<RuleEngineError> for StandardApiReasoningError
impl From<RuleEngineError> for StandardApiReasoningError
Source§fn from(source: RuleEngineError) -> Self
fn from(source: RuleEngineError) -> Self
Converts to this type from the input type.
Source§impl From<StandardApiReasoningError> for StandardWebDecisionRuntimeError
impl From<StandardApiReasoningError> for StandardWebDecisionRuntimeError
Source§fn from(source: StandardApiReasoningError) -> Self
fn from(source: StandardApiReasoningError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StandardApiReasoningError
impl RefUnwindSafe for StandardApiReasoningError
impl Send for StandardApiReasoningError
impl Sync for StandardApiReasoningError
impl Unpin for StandardApiReasoningError
impl UnsafeUnpin for StandardApiReasoningError
impl UnwindSafe for StandardApiReasoningError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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