pub struct ImportResolutionAttempt {
pub stage: ImportResolutionStage,
pub path: Vec<ModuleId>,
pub missing_module: Option<String>,
pub outcome: ImportAttemptOutcome,
pub selected: bool,
}Expand description
One exact module-version path observed during live import resolution.
Fields§
§stage: ImportResolutionStageLive resolver stage that executed this attempt.
path: Vec<ModuleId>Loaded module versions visited by the attempt, including a repeated final module for a detected cycle.
missing_module: Option<String>Unavailable module named by the last visited module, when applicable.
outcome: ImportAttemptOutcomeTerminal result.
selected: boolWhether this attempt supplied the retained resolution.
Trait Implementations§
Source§impl Clone for ImportResolutionAttempt
impl Clone for ImportResolutionAttempt
Source§fn clone(&self) -> ImportResolutionAttempt
fn clone(&self) -> ImportResolutionAttempt
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 ImportResolutionAttempt
impl Debug for ImportResolutionAttempt
impl Eq for ImportResolutionAttempt
Source§impl PartialEq for ImportResolutionAttempt
impl PartialEq for ImportResolutionAttempt
impl StructuralPartialEq for ImportResolutionAttempt
Auto Trait Implementations§
impl Freeze for ImportResolutionAttempt
impl RefUnwindSafe for ImportResolutionAttempt
impl Send for ImportResolutionAttempt
impl Sync for ImportResolutionAttempt
impl Unpin for ImportResolutionAttempt
impl UnsafeUnpin for ImportResolutionAttempt
impl UnwindSafe for ImportResolutionAttempt
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.