pub enum InheritanceError {
UnknownBase {
hash: EquivalenceHash,
},
BaseNotAStruct,
Cycle,
DepthExceeded {
limit: usize,
},
InheritanceConflict {
member_id: u32,
reason: &'static str,
},
}Expand description
Fehler beim Flatten einer Inheritance-Kette.
Variants§
UnknownBase
base_type zeigt auf eine EquivalenceHash, die nicht in der
Registry liegt.
Fields
§
hash: EquivalenceHashDer ungeloeste Hash.
BaseNotAStruct
base_type zeigt auf einen TypeObject, der kein Struct ist
(z.B. Enum oder Alias auf Enum).
Cycle
Inheritance-Cycle erkannt.
DepthExceeded
Maximum-Depth ueberschritten.
InheritanceConflict
Member-Name oder Member-ID kollidiert zwischen Base und Derived (XTypes 1.3 §7.2.2.4.5).
Trait Implementations§
Source§impl Clone for InheritanceError
impl Clone for InheritanceError
Source§fn clone(&self) -> InheritanceError
fn clone(&self) -> InheritanceError
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 InheritanceError
impl Debug for InheritanceError
Source§impl PartialEq for InheritanceError
impl PartialEq for InheritanceError
Source§fn eq(&self, other: &InheritanceError) -> bool
fn eq(&self, other: &InheritanceError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for InheritanceError
impl StructuralPartialEq for InheritanceError
Auto Trait Implementations§
impl Freeze for InheritanceError
impl RefUnwindSafe for InheritanceError
impl Send for InheritanceError
impl Sync for InheritanceError
impl Unpin for InheritanceError
impl UnsafeUnpin for InheritanceError
impl UnwindSafe for InheritanceError
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