pub enum PrepareError {
SourceBinding(String),
MissingBackend(String),
DescriptorMismatch {
backend_id: String,
},
HardBudgetUnenforceable {
backend_id: String,
model: CostModel,
},
SinkVersionUnsupported {
schema: &'static str,
},
StoreMissing,
StoreContractMismatch,
}Expand description
Why a plan cannot run on this runtime (spec 003, 3.5.3 and 3.6.5).
Variants§
SourceBinding(String)
MissingBackend(String)
The plan binds a backend id that is not registered.
DescriptorMismatch
The registered backend’s descriptor is not the one the plan bound.
HardBudgetUnenforceable
A hard budget, and a reachable backend without enforceable bounds.
SinkVersionUnsupported
A plan 3 and an evidence sink that does not accept rustev.run/3
(spec 032, 3.11.2).
StoreMissing
A persistent tier, and a runtime built without a store (spec 044, 3.4.1).
StoreContractMismatch
The store’s contract is not the one the plan states.
Trait Implementations§
Source§impl Clone for PrepareError
impl Clone for PrepareError
Source§impl Debug for PrepareError
impl Debug for PrepareError
impl Eq for PrepareError
Source§impl PartialEq for PrepareError
impl PartialEq for PrepareError
impl StructuralPartialEq for PrepareError
Auto Trait Implementations§
impl Freeze for PrepareError
impl RefUnwindSafe for PrepareError
impl Send for PrepareError
impl Sync for PrepareError
impl Unpin for PrepareError
impl UnsafeUnpin for PrepareError
impl UnwindSafe for PrepareError
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