pub enum TypeHierarchyError {
UncoveredSource(SourceId),
UnknownType(String),
}Expand description
Failure to answer a type-hierarchy question conclusively.
Variants§
UncoveredSource(SourceId)
The service does not cover this source.
UnknownType(String)
The type is not declared by the source’s schema.
Trait Implementations§
Source§impl Clone for TypeHierarchyError
impl Clone for TypeHierarchyError
Source§impl Debug for TypeHierarchyError
impl Debug for TypeHierarchyError
Source§impl Display for TypeHierarchyError
impl Display for TypeHierarchyError
impl Eq for TypeHierarchyError
Source§impl Error for TypeHierarchyError
impl Error for TypeHierarchyError
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 TypeHierarchyError
impl PartialEq for TypeHierarchyError
impl StructuralPartialEq for TypeHierarchyError
Auto Trait Implementations§
impl Freeze for TypeHierarchyError
impl RefUnwindSafe for TypeHierarchyError
impl Send for TypeHierarchyError
impl Sync for TypeHierarchyError
impl Unpin for TypeHierarchyError
impl UnsafeUnpin for TypeHierarchyError
impl UnwindSafe for TypeHierarchyError
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