pub enum DesignIntentError {
InvalidSurface {
role: &'static str,
},
DegenerateRelation {
relation: &'static str,
},
UnsupportedRelation {
relation: &'static str,
target: SurfaceType,
reference: SurfaceType,
},
}Expand description
Failure to express a requested design-intent relation with the current parameter-group constraint model.
Variants§
InvalidSurface
The target or reference carrier contains invalid parameters.
DegenerateRelation
The supplied geometry does not determine a unique requested relation.
UnsupportedRelation
The relation cannot be represented by the current parameter groups.
Fields
§
target: SurfaceTypePrimitive type that would be constrained.
§
reference: SurfaceTypePrimitive type used as design-intent evidence.
Trait Implementations§
Source§impl Clone for DesignIntentError
impl Clone for DesignIntentError
Source§impl Debug for DesignIntentError
impl Debug for DesignIntentError
Source§impl Display for DesignIntentError
impl Display for DesignIntentError
impl Eq for DesignIntentError
Source§impl Error for DesignIntentError
impl Error for DesignIntentError
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 DesignIntentError
impl PartialEq for DesignIntentError
impl StructuralPartialEq for DesignIntentError
Auto Trait Implementations§
impl Forget for DesignIntentError
impl Freeze for DesignIntentError
impl Move for DesignIntentError
impl RefUnwindSafe for DesignIntentError
impl Send for DesignIntentError
impl Sync for DesignIntentError
impl Unpin for DesignIntentError
impl UnsafeUnpin for DesignIntentError
impl UnwindSafe for DesignIntentError
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