#[non_exhaustive]pub enum ResolutionAttempt {
Resolved(Resolution),
NotFound {
attempted_targets: Vec<TargetId>,
},
}Expand description
One canonical lookup and the actual indexed targets its missing routes read. Target identities are local to this workspace load, not provider authority.
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.
Resolved(Resolution)
The ordinary resolved definition identity.
NotFound
No definition resolved. Targets are distinct, in first observation order; they include private import routes followed by the native resolver.
Trait Implementations§
Source§impl Clone for ResolutionAttempt
impl Clone for ResolutionAttempt
Source§impl Debug for ResolutionAttempt
impl Debug for ResolutionAttempt
impl Eq for ResolutionAttempt
Source§impl PartialEq for ResolutionAttempt
impl PartialEq for ResolutionAttempt
impl StructuralPartialEq for ResolutionAttempt
Auto Trait Implementations§
impl Forget for ResolutionAttempt
impl Freeze for ResolutionAttempt
impl Move for ResolutionAttempt
impl RefUnwindSafe for ResolutionAttempt
impl Send for ResolutionAttempt
impl Sync for ResolutionAttempt
impl Unpin for ResolutionAttempt
impl UnsafeUnpin for ResolutionAttempt
impl UnwindSafe for ResolutionAttempt
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
Whether this borrowed key equals the stored key.
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.impl<T> EvidenceLease for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more