Enum gix_credentials::program::Kind
source · pub enum Kind {
Builtin,
ExternalName {
name_and_args: BString,
},
ExternalPath {
path_and_args: BString,
},
ExternalShellScript(BString),
}
Expand description
The kind of helper program to use.
Variants§
Builtin
The built-in git credential
helper program, part of any git
distribution.
ExternalName
Fields
A custom credentials helper, as identified just by the name with optional arguments
ExternalPath
Fields
A custom credentials helper, as identified just by the absolute path to the program and optional arguments. The program is executed through a shell.
ExternalShellScript(BString)
A script to execute with sh
.
Trait Implementations§
source§impl PartialEq<Kind> for Kind
impl PartialEq<Kind> for Kind
impl Eq for Kind
impl StructuralEq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more