Enum git_config::file::GitConfigError [−][src]
pub enum GitConfigError<'a> {
SectionDoesNotExist(SectionHeaderName<'a>),
SubSectionDoesNotExist(Option<&'a str>),
KeyDoesNotExist,
FailedConversion,
}Expand description
All possible error types that may occur from interacting with
GitConfig.
Variants
The requested section does not exist.
Tuple Fields of SectionDoesNotExist
0: SectionHeaderName<'a>The requested subsection does not exist.
The key does not exist in the requested section.
The conversion into the provided type for methods such as
GitConfig::value failed.
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<'a> RefUnwindSafe for GitConfigError<'a>
impl<'a> Send for GitConfigError<'a>
impl<'a> Sync for GitConfigError<'a>
impl<'a> Unpin for GitConfigError<'a>
impl<'a> UnwindSafe for GitConfigError<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more