#[non_exhaustive]pub enum ModuleResolutionCandidateStatus {
CandidateBuilt,
Dynamic,
NotFound,
Resolved,
TimedOut,
}Expand description
Static resolution state for a module candidate packet.
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.
CandidateBuilt
Candidate paths were built but not resolved against the filesystem.
Dynamic
Dynamic module target cannot produce candidate paths.
NotFound
Static request has no roots to search.
Resolved
Downstream resolver found a matching module.
TimedOut
Downstream resolver exhausted its timeout budget.
Trait Implementations§
Source§impl Clone for ModuleResolutionCandidateStatus
impl Clone for ModuleResolutionCandidateStatus
Source§fn clone(&self) -> ModuleResolutionCandidateStatus
fn clone(&self) -> ModuleResolutionCandidateStatus
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 PartialEq for ModuleResolutionCandidateStatus
impl PartialEq for ModuleResolutionCandidateStatus
Source§fn eq(&self, other: &ModuleResolutionCandidateStatus) -> bool
fn eq(&self, other: &ModuleResolutionCandidateStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ModuleResolutionCandidateStatus
impl Eq for ModuleResolutionCandidateStatus
impl StructuralPartialEq for ModuleResolutionCandidateStatus
Auto Trait Implementations§
impl Freeze for ModuleResolutionCandidateStatus
impl RefUnwindSafe for ModuleResolutionCandidateStatus
impl Send for ModuleResolutionCandidateStatus
impl Sync for ModuleResolutionCandidateStatus
impl Unpin for ModuleResolutionCandidateStatus
impl UnsafeUnpin for ModuleResolutionCandidateStatus
impl UnwindSafe for ModuleResolutionCandidateStatus
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