pub enum EdgeRejection {
Cycle,
DepthExceeded,
}Expand description
Why a parent → child component edge was refused.
Variants§
Cycle
child already reaches parent, so the edge would close a cycle.
DepthExceeded
child’s sub-assembly is already depth_cap levels deep; nesting it
under parent would exceed the maximum modelled BOM depth.
Trait Implementations§
Source§impl Clone for EdgeRejection
impl Clone for EdgeRejection
Source§fn clone(&self) -> EdgeRejection
fn clone(&self) -> EdgeRejection
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 moreimpl Copy for EdgeRejection
Source§impl Debug for EdgeRejection
impl Debug for EdgeRejection
impl Eq for EdgeRejection
Source§impl PartialEq for EdgeRejection
impl PartialEq for EdgeRejection
impl StructuralPartialEq for EdgeRejection
Auto Trait Implementations§
impl Freeze for EdgeRejection
impl RefUnwindSafe for EdgeRejection
impl Send for EdgeRejection
impl Sync for EdgeRejection
impl Unpin for EdgeRejection
impl UnsafeUnpin for EdgeRejection
impl UnwindSafe for EdgeRejection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.