pub enum CredentialMode {
Helper,
Prompt,
None,
}Expand description
How network commands get HTTPS credentials; the daemon sets it from
credentials.https_mode before each network operation.
How network commands get HTTPS credentials; the daemon sets it from
credentials.https_mode before each network operation.
How network commands get HTTPS credentials; the daemon sets it from
credentials.https_mode before each network operation.
How network commands get HTTPS credentials (credentials.https_mode).
Process-wide because the daemon owns the process and re-reads the
setting before each network operation.
Variants§
Helper
git’s own handling: the configured helper, then its prompt.
Prompt
No helper; git may prompt on a terminal.
None
No helper and no prompt: anonymous access only.
Trait Implementations§
Source§impl Clone for CredentialMode
impl Clone for CredentialMode
impl Copy for CredentialMode
Source§impl Debug for CredentialMode
impl Debug for CredentialMode
Source§impl Default for CredentialMode
impl Default for CredentialMode
impl Eq for CredentialMode
Source§impl PartialEq for CredentialMode
impl PartialEq for CredentialMode
impl StructuralPartialEq for CredentialMode
Auto Trait Implementations§
impl Forget for CredentialMode
impl Freeze for CredentialMode
impl Move for CredentialMode
impl RefUnwindSafe for CredentialMode
impl Send for CredentialMode
impl Sync for CredentialMode
impl Unpin for CredentialMode
impl UnsafeUnpin for CredentialMode
impl UnwindSafe for CredentialMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more