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
ParseError(String)
Tuple Fields
0: String
GIT_CONFIG_COUNT
was not a positive integer
InvalidKeyId(usize)
Tuple Fields
0: usize
GIT_CONFIG_KEY_<n>
was not set.
InvalidKeyValue(usize, String)
An key at GIT_CONFIG_KEY_<n>
was found, but it wasn’t a valid string.
InvalidValueId(usize)
Tuple Fields
0: usize
GIT_CONFIG_VALUE_<n>
was not set.
Trait 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