pub enum PlcValidationError {
Show 30 variants
ValidationSummaryNotVolumeReady {
summary: PlcValidationSummary,
},
EvidenceStageMismatch {
stage: MeshingStage,
},
EvidenceStatusNotComplete {
status: StageEvidenceStatus,
},
EmptyNodes,
EmptyFacets,
DuplicateNode {
node_id: TopologyEntityId,
},
NonFiniteNode {
node_id: TopologyEntityId,
},
PlcEntityStageMismatch {
entity_id: TopologyEntityId,
},
FacetReferencesUnknownNode {
facet_id: TopologyEntityId,
node_id: TopologyEntityId,
},
DuplicateFacet {
facet_id: TopologyEntityId,
},
DuplicateBoundaryFacet {
first_facet_id: Box<TopologyEntityId>,
second_facet_id: Box<TopologyEntityId>,
node_ids: Box<[TopologyEntityId; 3]>,
},
FacetHasRepeatedNode {
facet_id: TopologyEntityId,
},
DegenerateFacet {
facet_id: TopologyEntityId,
},
FacetHasEmptySourceFaceId {
facet_id: TopologyEntityId,
},
FacetSourceFaceStageMismatch {
facet_id: TopologyEntityId,
source_face_id: TopologyEntityId,
},
FacetHasEmptyMaterialInterfaceId {
facet_id: TopologyEntityId,
},
FacetHasRepeatedMaterialInterfaceId {
facet_id: TopologyEntityId,
material_interface_id: String,
},
ProtectedEdgeReferencesUnknownNode {
edge_id: TopologyEntityId,
node_id: TopologyEntityId,
},
DuplicateProtectedEdge {
edge_id: TopologyEntityId,
},
DuplicateProtectedBoundarySegment {
first_edge_id: Box<TopologyEntityId>,
second_edge_id: Box<TopologyEntityId>,
node_ids: Box<[TopologyEntityId; 2]>,
},
ProtectedEdgeHasRepeatedNode {
edge_id: TopologyEntityId,
},
ProtectedEdgeHasEmptySourceEdgeId {
edge_id: TopologyEntityId,
},
ProtectedEdgeSourceEdgeStageMismatch {
edge_id: TopologyEntityId,
source_edge_id: TopologyEntityId,
},
UnreferencedNode {
node_id: TopologyEntityId,
},
DisconnectedBoundaryComponents {
component_count: usize,
},
ProtectedEdgeNotOnBoundary {
edge_id: TopologyEntityId,
node_ids: [TopologyEntityId; 2],
},
OpenBoundaryEdge {
node_ids: [TopologyEntityId; 2],
incidence_count: usize,
},
NonManifoldBoundaryEdge {
node_ids: [TopologyEntityId; 2],
incidence_count: usize,
},
NonManifoldBoundaryVertex {
node_id: TopologyEntityId,
incident_facet_count: usize,
link_component_count: usize,
},
InconsistentBoundaryEdgeOrientation {
node_ids: [TopologyEntityId; 2],
},
}Variants§
ValidationSummaryNotVolumeReady
Fields
§
summary: PlcValidationSummaryEvidenceStageMismatch
Fields
§
stage: MeshingStageEvidenceStatusNotComplete
Fields
§
status: StageEvidenceStatusEmptyNodes
EmptyFacets
DuplicateNode
Fields
§
node_id: TopologyEntityIdNonFiniteNode
Fields
§
node_id: TopologyEntityIdPlcEntityStageMismatch
Fields
§
entity_id: TopologyEntityIdFacetReferencesUnknownNode
DuplicateFacet
Fields
§
facet_id: TopologyEntityIdDuplicateBoundaryFacet
Fields
§
first_facet_id: Box<TopologyEntityId>§
second_facet_id: Box<TopologyEntityId>§
node_ids: Box<[TopologyEntityId; 3]>FacetHasRepeatedNode
Fields
§
facet_id: TopologyEntityIdDegenerateFacet
Fields
§
facet_id: TopologyEntityIdFacetHasEmptySourceFaceId
Fields
§
facet_id: TopologyEntityIdFacetSourceFaceStageMismatch
FacetHasEmptyMaterialInterfaceId
Fields
§
facet_id: TopologyEntityIdFacetHasRepeatedMaterialInterfaceId
ProtectedEdgeReferencesUnknownNode
DuplicateProtectedEdge
Fields
§
edge_id: TopologyEntityIdDuplicateProtectedBoundarySegment
Fields
§
first_edge_id: Box<TopologyEntityId>§
second_edge_id: Box<TopologyEntityId>§
node_ids: Box<[TopologyEntityId; 2]>ProtectedEdgeHasRepeatedNode
Fields
§
edge_id: TopologyEntityIdProtectedEdgeHasEmptySourceEdgeId
Fields
§
edge_id: TopologyEntityIdProtectedEdgeSourceEdgeStageMismatch
UnreferencedNode
Fields
§
node_id: TopologyEntityIdDisconnectedBoundaryComponents
ProtectedEdgeNotOnBoundary
OpenBoundaryEdge
NonManifoldBoundaryEdge
NonManifoldBoundaryVertex
InconsistentBoundaryEdgeOrientation
Fields
§
node_ids: [TopologyEntityId; 2]Trait Implementations§
Source§impl Clone for PlcValidationError
impl Clone for PlcValidationError
Source§fn clone(&self) -> PlcValidationError
fn clone(&self) -> PlcValidationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlcValidationError
impl Debug for PlcValidationError
Source§impl Display for PlcValidationError
impl Display for PlcValidationError
impl Eq for PlcValidationError
Source§impl Error for PlcValidationError
impl Error for PlcValidationError
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 PlcValidationError
impl PartialEq for PlcValidationError
impl StructuralPartialEq for PlcValidationError
Auto Trait Implementations§
impl Freeze for PlcValidationError
impl RefUnwindSafe for PlcValidationError
impl Send for PlcValidationError
impl Sync for PlcValidationError
impl Unpin for PlcValidationError
impl UnsafeUnpin for PlcValidationError
impl UnwindSafe for PlcValidationError
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