pub enum IdentityConfig<'a> {
Skip,
Loaded(&'a GitConfig),
}Expand description
Explicit effective config used as the identity fallback. Skip means the
caller already has both fields from the environment, so config lookup is
unnecessary; Loaded borrows the invocation’s already-resolved snapshot.
Variants§
Auto Trait Implementations§
impl<'a> Freeze for IdentityConfig<'a>
impl<'a> RefUnwindSafe for IdentityConfig<'a>
impl<'a> Send for IdentityConfig<'a>
impl<'a> Sync for IdentityConfig<'a>
impl<'a> Unpin for IdentityConfig<'a>
impl<'a> UnsafeUnpin for IdentityConfig<'a>
impl<'a> UnwindSafe for IdentityConfig<'a>
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