#[non_exhaustive]pub enum FromEnvErrorKind {
NoEnvVar,
NoJobserver,
CannotParse,
CannotOpenPath,
CannotOpenFd,
NegativeFd,
NotAPipe,
Unsupported,
}
Expand description
Kind of an error returned from Client::from_env_ext
function.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
NoEnvVar
There is no environment variable that describes jobserver to inherit.
NoJobserver
There is no jobserver in the environment variable. Variables associated with Make can be used for passing data other than jobserver info.
CannotParse
Cannot parse jobserver environment variable value, incorrect format.
CannotOpenPath
Cannot open path or name from the jobserver environment variable value.
CannotOpenFd
Cannot open file descriptor from the jobserver environment variable value.
NegativeFd
The jobserver style is a simple pipe, but at least one of the file descriptors
is negative, which means it is disabled for this process
(GNU make
manual: POSIX Jobserver Interaction).
NotAPipe
File descriptor from the jobserver environment variable value is not a pipe.
Unsupported
Jobserver inheritance is not supported on this platform.