pub enum UnresolvedReason {
NotFound,
Unsupported,
Failed {
kind: FailedKind,
detail: CompactString,
},
}Expand description
Why an import could not be resolved.
Variants§
NotFound
No matching path or package was found.
Unsupported
No resolver supports this import kind.
Failed
Resolution could not be completed reliably.
Fields
§
kind: FailedKindBroad category suitable for programmatic handling.
§
detail: CompactStringResolver-specific diagnostic detail.
Trait Implementations§
Source§impl Clone for UnresolvedReason
impl Clone for UnresolvedReason
Source§fn clone(&self) -> UnresolvedReason
fn clone(&self) -> UnresolvedReason
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 UnresolvedReason
impl Debug for UnresolvedReason
impl Eq for UnresolvedReason
Source§impl PartialEq for UnresolvedReason
impl PartialEq for UnresolvedReason
impl StructuralPartialEq for UnresolvedReason
Auto Trait Implementations§
impl Freeze for UnresolvedReason
impl RefUnwindSafe for UnresolvedReason
impl Send for UnresolvedReason
impl Sync for UnresolvedReason
impl Unpin for UnresolvedReason
impl UnsafeUnpin for UnresolvedReason
impl UnwindSafe for UnresolvedReason
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§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.