Enum pkg_config::Error
[−]
[src]
pub enum Error {
EnvNoPkgConfig(String),
CrossCompilation,
Command {
command: String,
cause: Error,
},
Failure {
command: String,
output: Output,
},
// some variants omitted
}Represents all reasons pkg-config might not succeed or be run at all.
Variants
EnvNoPkgConfig(String)Aborted because of *_NO_PKG_CONFIG environment variable.
Contains the name of the responsible environment variable.
CrossCompilationCross compilation detected.
Override with PKG_CONFIG_ALLOW_CROSS=1.
CommandFailed to run pkg-config.
Contains the command and the cause.
Fields
command: String | |
cause: Error |
Failurepkg-config did not exit sucessfully.
Contains the command and output.
Fields
command: String | |
output: Output |
Trait Implementations
impl Error for Error[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more