pub enum CargoOutput {
Show 24 variants
NotUtf8(Utf8Error),
BuildMessage(DecodeError),
Launchers,
NoLauncher,
DependencyTarget {
file: PathBuf,
},
Metadata(DecodeError),
NoKey {
key: MetadataKey,
},
DuplicateId {
id: String,
},
NoPackages,
NoResolve,
NoSelected,
NoPackage {
id: String,
},
NoNode {
id: String,
},
NoDependencies {
id: String,
},
NoKinds,
DependencyKind {
kind: String,
},
NoRoot {
manifest: PathBuf,
},
Toolkits,
NoToolkitSource,
ToolkitSource {
source: String,
},
GitCommit {
source: String,
},
GitReference {
source: String,
},
GitReferenceKind {
kind: String,
},
NoWorkspaceRoot,
}Expand description
What Cargo reported that the toolkit does not read.
Variants§
NotUtf8(Utf8Error)
Cargo’s output is not UTF-8.
BuildMessage(DecodeError)
A line of cargo build’s messages is not JSON.
Launchers
cargo build reported more than one launcher executable.
NoLauncher
cargo build reported no launcher executable.
DependencyTarget
Cargo’s dependency information at file names no target.
Metadata(DecodeError)
cargo metadata’s output is not JSON.
NoKey
A row of cargo metadata has no text at key.
Fields
key: MetadataKeyThe key.
DuplicateId
Two rows of cargo metadata share the ID id.
NoPackages
cargo metadata has no packages.
NoResolve
cargo metadata has no resolved dependency graph.
NoSelected
cargo metadata has no package for the library’s manifest.
NoPackage
cargo metadata has no package with the ID id.
NoNode
cargo metadata’s graph has no node with the ID id.
NoDependencies
The node with the ID id has no deps.
NoKinds
A dependency has no dep_kinds.
DependencyKind
A dependency’s kind is none of normal, build and dev.
NoRoot
A package’s manifest, at manifest, lies in no directory.
Toolkits
The library resolves more than one flow-toolkit package.
NoToolkitSource
The toolkit’s package has no source.
ToolkitSource
The toolkit’s source is neither a path, a registry nor Git.
GitCommit
The toolkit’s Git source has no commit identity.
GitReference
The toolkit’s Git source names a reference with no value.
GitReferenceKind
The toolkit’s Git source names a reference that is no branch, tag or rev.
NoWorkspaceRoot
cargo metadata names no workspace root.