pub enum Resolution {
Single(Candidate),
Conflict {
candidates: Vec<Candidate>,
recommended: Source,
reason: String,
versions_equal: bool,
},
NotFound,
}Expand description
The resolution outcome.
Variants§
Single(Candidate)
Only one source has it — use that.
Conflict
Multiple sources — nex recommends one but the user should confirm.
Fields
NotFound
Not found anywhere.
Auto Trait Implementations§
impl Freeze for Resolution
impl RefUnwindSafe for Resolution
impl Send for Resolution
impl Sync for Resolution
impl Unpin for Resolution
impl UnsafeUnpin for Resolution
impl UnwindSafe for Resolution
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