pub enum Scope {
Local(PathBuf),
Global,
}Expand description
Where config keys are moved.
Variants§
Local(PathBuf)
The repository’s own config (--local), the common dir given.
Global
The person’s global config (--global).
Trait Implementations§
Auto Trait Implementations§
impl Forget for Scope
impl Freeze for Scope
impl Move for Scope
impl RefUnwindSafe for Scope
impl Send for Scopewhere
RawVecInner: Send,
impl Sync for Scopewhere
RawVecInner: Sync,
impl Unpin for Scope
impl UnsafeUnpin for Scope
impl UnwindSafe for Scopewhere
RawVecInner: UnwindSafe,
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