#[non_exhaustive]pub enum ResolveError {
DepthExceeded {
limit: usize,
},
NodeLimitExceeded {
limit: usize,
},
Unknown {
hash: EquivalenceHash,
},
Cycle,
}Expand description
Fehler bei Type-Resolution.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DepthExceeded
Maximum-Depth ueberschritten.
NodeLimitExceeded
Maximum-Knotenzahl ueberschritten.
Unknown
Referenzierter Type nicht in der Registry.
Fields
§
hash: EquivalenceHashHash, der gesucht wurde.
Cycle
Zyklus ohne Fortschritt erkannt.
Trait Implementations§
Source§impl Clone for ResolveError
impl Clone for ResolveError
Source§fn clone(&self) -> ResolveError
fn clone(&self) -> ResolveError
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 ResolveError
impl Debug for ResolveError
Source§impl PartialEq for ResolveError
impl PartialEq for ResolveError
Source§fn eq(&self, other: &ResolveError) -> bool
fn eq(&self, other: &ResolveError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ResolveError
impl StructuralPartialEq for ResolveError
Auto Trait Implementations§
impl Freeze for ResolveError
impl RefUnwindSafe for ResolveError
impl Send for ResolveError
impl Sync for ResolveError
impl Unpin for ResolveError
impl UnsafeUnpin for ResolveError
impl UnwindSafe for ResolveError
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