pub enum PropertyResolutionError {
InvalidRequest,
ResponseRequestMismatch,
InexactEvidence,
InvalidValue,
Incomplete(String),
Conflicting(String),
Unavailable(String),
}Expand description
Failure to resolve a property conclusively.
Variants§
InvalidRequest
The requested property reference is malformed.
ResponseRequestMismatch
Returned data names another object or property.
InexactEvidence
A conclusive answer lacks exact, reviewable provenance.
InvalidValue
A conclusive answer contains a non-finite numeric value.
Incomplete(String)
The source could answer only part of the request scope.
Conflicting(String)
Mutually incompatible exact facts were returned.
The source cannot currently provide a conclusive answer.
Trait Implementations§
Source§impl Clone for PropertyResolutionError
impl Clone for PropertyResolutionError
Source§fn clone(&self) -> PropertyResolutionError
fn clone(&self) -> PropertyResolutionError
Returns a copy 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 PropertyResolutionError
impl Debug for PropertyResolutionError
Source§impl Display for PropertyResolutionError
impl Display for PropertyResolutionError
Source§impl Error for PropertyResolutionError
impl Error for PropertyResolutionError
1.30.0 · 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 PartialEq for PropertyResolutionError
impl PartialEq for PropertyResolutionError
impl Eq for PropertyResolutionError
impl StructuralPartialEq for PropertyResolutionError
Auto Trait Implementations§
impl Freeze for PropertyResolutionError
impl RefUnwindSafe for PropertyResolutionError
impl Send for PropertyResolutionError
impl Sync for PropertyResolutionError
impl Unpin for PropertyResolutionError
impl UnwindSafe for PropertyResolutionError
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