pub enum Failure {
Show 14 variants
Conflict {
name: String,
requesters: Vec<Requester>,
detail: String,
},
Identity(Identity),
EngineIncompatible {
name: String,
failures: Vec<EngineFailure>,
message: String,
},
EngineUnsatisfiable {
name: String,
excluded: Vec<(Version, Vec<EngineFailure>)>,
},
EngineRequirementInvalid {
name: String,
engine: String,
requirement: String,
message: String,
},
EngineVersionInvalid {
engine: String,
version: String,
message: String,
},
Plugin {
name: String,
detail: PluginDetail,
plugin: Option<String>,
text: String,
},
Subpath {
name: String,
subpath: String,
detail: SubpathDetail,
},
Unreadable {
name: String,
rooted: Rooted,
diagnostics: Vec<SchemaDiagnostic>,
},
Path {
name: String,
declared_in: String,
},
Unavailable {
package: String,
need: Need,
reason: String,
},
Bounds {
limit: BoundsLimit,
at: String,
},
Oscillation {
name: String,
steps: Vec<Step>,
},
Frozen {
message: String,
},
}Expand description
Why resolution stopped. Each kind carries what its message needs, and Failure::message
is the one formatter: mars sync prints that text, and so does Flow.
Variants§
Conflict
No version meets every constraint, or the constraints cannot hold on one ref.
Identity(Identity)
Two names for one source, or one name for two sources.
EngineIncompatible
EngineUnsatisfiable
Every candidate version was excluded by its engine requirement.
EngineRequirementInvalid
EngineVersionInvalid
Plugin
Subpath
Unreadable
A package’s manifest is not TOML.
Path
A package, or the root, declares a path dependency and the answerer refused it.
A failed answer, or a missing one that came from no lock.
Bounds
Oscillation
Restarts keep changing one name’s version.
Frozen
--frozen and the lock disagree.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Failure
impl Freeze for Failure
impl Move for Failure
impl RefUnwindSafe for Failure
impl Send for Failure
impl Sync for Failure
impl Unpin for Failure
impl UnsafeUnpin for Failure
impl UnwindSafe for Failure
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