pub enum ModuleBindingPlanError {
DuplicateParameter {
parameter: String,
},
InvalidParameterRepresentation {
parameter: String,
},
MissingParameter {
destination: String,
},
UnknownRecipeParameters {
parameters: Vec<String>,
},
ExactTask {
details: String,
},
Store(StoreError),
Recipe(RecipeError),
Plan(BindingPlanError),
Declaration(ResidencyDeclarationError),
}Expand description
Failure while converting a neutral module traversal into a binding plan.
Variants§
DuplicateParameter
Immutable traversal repeated a stable parameter identity.
InvalidParameterRepresentation
A native parameter could not expose portable geometry.
MissingParameter
No recipe, overlay, or direct checkpoint source exists.
UnknownRecipeParameters
Recipe declarations remained after complete module traversal.
ExactTask
An exact architecture-selected task disagreed with its module or source.
Store(StoreError)
Checkpoint metadata access failed.
Recipe(RecipeError)
Recipe metadata inference failed while validating an exact task.
Plan(BindingPlanError)
The canonical declaration was invalid.
Declaration(ResidencyDeclarationError)
A lowered residency binding was invalid.
Trait Implementations§
Source§impl Debug for ModuleBindingPlanError
impl Debug for ModuleBindingPlanError
Source§impl Display for ModuleBindingPlanError
impl Display for ModuleBindingPlanError
Source§impl Error for ModuleBindingPlanError
impl Error for ModuleBindingPlanError
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<BindingPlanError> for ModuleBindingPlanError
impl From<BindingPlanError> for ModuleBindingPlanError
Source§fn from(source: BindingPlanError) -> Self
fn from(source: BindingPlanError) -> Self
Converts to this type from the input type.
Source§impl From<RecipeError> for ModuleBindingPlanError
impl From<RecipeError> for ModuleBindingPlanError
Source§fn from(source: RecipeError) -> Self
fn from(source: RecipeError) -> Self
Converts to this type from the input type.
Source§impl From<ResidencyDeclarationError> for ModuleBindingPlanError
impl From<ResidencyDeclarationError> for ModuleBindingPlanError
Source§fn from(source: ResidencyDeclarationError) -> Self
fn from(source: ResidencyDeclarationError) -> Self
Converts to this type from the input type.
Source§impl From<StoreError> for ModuleBindingPlanError
impl From<StoreError> for ModuleBindingPlanError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ModuleBindingPlanError
impl RefUnwindSafe for ModuleBindingPlanError
impl Send for ModuleBindingPlanError
impl Sync for ModuleBindingPlanError
impl Unpin for ModuleBindingPlanError
impl UnsafeUnpin for ModuleBindingPlanError
impl UnwindSafe for ModuleBindingPlanError
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