Enum git_config::file::GitConfigFromEnvError [−][src]
pub enum GitConfigFromEnvError {
ParseError(String),
InvalidKeyId(usize),
InvalidKeyValue(usize, String),
InvalidValueId(usize),
}Expand description
Represents the errors that may occur when calling GitConfig::from_env.
Variants
GIT_CONFIG_COUNT was not a positive integer
Tuple Fields of ParseError
0: StringGIT_CONFIG_KEY_<n> was not set.
Tuple Fields of InvalidKeyId
0: usizeAn key at GIT_CONFIG_KEY_<n> was found, but it wasn’t a valid string.
GIT_CONFIG_VALUE_<n> was not set.
Tuple Fields of InvalidValueId
0: usizeTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for GitConfigFromEnvError
impl Send for GitConfigFromEnvError
impl Sync for GitConfigFromEnvError
impl Unpin for GitConfigFromEnvError
impl UnwindSafe for GitConfigFromEnvError
Blanket Implementations
Mutably borrows from an owned value. Read more