#[non_exhaustive]pub enum PredictionProvenanceProjectionError {
EngineContract(EngineContractError),
PredictionContract(PredictionContractError),
}Expand description
Failure to project already-resolved engine and same-load source evidence.
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.
EngineContract(EngineContractError)
The frozen engine profile or its materialized settings contradicted the core-owned V1 engine contract.
PredictionContract(PredictionContractError)
The same-load engine, raw-source, or dependency-closure evidence could not form one valid prediction-provenance record.
Trait Implementations§
Source§impl Error for PredictionProvenanceProjectionError
impl Error for PredictionProvenanceProjectionError
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<EngineContractError> for PredictionProvenanceProjectionError
impl From<EngineContractError> for PredictionProvenanceProjectionError
Source§fn from(source: EngineContractError) -> Self
fn from(source: EngineContractError) -> Self
Converts to this type from the input type.
Source§impl From<PredictionContractError> for PredictionProvenanceProjectionError
impl From<PredictionContractError> for PredictionProvenanceProjectionError
Source§fn from(source: PredictionContractError) -> Self
fn from(source: PredictionContractError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PredictionProvenanceProjectionError
impl RefUnwindSafe for PredictionProvenanceProjectionError
impl Send for PredictionProvenanceProjectionError
impl Sync for PredictionProvenanceProjectionError
impl Unpin for PredictionProvenanceProjectionError
impl UnsafeUnpin for PredictionProvenanceProjectionError
impl UnwindSafe for PredictionProvenanceProjectionError
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