pub enum PropertyResolutionError {
InvalidRequest,
ResponseRequestMismatch,
InexactEvidence,
InvalidValue,
Incomplete(String),
Conflicting(String),
Unavailable(String),
NotRecorded(String),
MissingService(String),
UnreadableValue(Box<UnreadableValue>),
}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 value that is not a valid value of its kind: a non-finite number, or text that is not the date its source type declares.
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.
NotRecorded(String)
The source records this kind of property for no object at all (a model with no presentation layers), so an object’s missing value is no evidence of absence. The message describes the source, never the object, so every object of the source answers identically.
MissingService(String)
The run registered no service that could answer the request, for any object (a measured value without geometry). The message describes the run, never the object.
UnreadableValue(Box<UnreadableValue>)
The property is present and states a value of a type the source declares exactly, but the value cannot be read exactly (a measure whose unit does not resolve). What depends on the declared type and on presence alone is decided; the value is not.
Trait Implementations§
Source§impl Clone for PropertyResolutionError
impl Clone for PropertyResolutionError
Source§impl Debug for PropertyResolutionError
impl Debug for PropertyResolutionError
Source§impl Display for PropertyResolutionError
impl Display for PropertyResolutionError
impl Eq 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)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()