pub enum SpecConfigFileScope {
Project,
Global,
System,
}Expand description
Which class of file a location belongs to.
Variants§
Project
Somewhere a repository can carry — the least trusted.
Global
The user’s own configuration.
System
Installed by whoever administers the machine.
Trait Implementations§
Source§impl Clone for SpecConfigFileScope
impl Clone for SpecConfigFileScope
Source§fn clone(&self) -> SpecConfigFileScope
fn clone(&self) -> SpecConfigFileScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SpecConfigFileScope
Source§impl Debug for SpecConfigFileScope
impl Debug for SpecConfigFileScope
Source§impl Default for SpecConfigFileScope
impl Default for SpecConfigFileScope
Source§fn default() -> SpecConfigFileScope
fn default() -> SpecConfigFileScope
Returns the “default value” for a type. Read more
Source§impl Display for SpecConfigFileScope
impl Display for SpecConfigFileScope
impl Eq for SpecConfigFileScope
Source§impl FromStr for SpecConfigFileScope
impl FromStr for SpecConfigFileScope
Source§impl PartialEq for SpecConfigFileScope
impl PartialEq for SpecConfigFileScope
Source§impl Serialize for SpecConfigFileScope
impl Serialize for SpecConfigFileScope
impl StructuralPartialEq for SpecConfigFileScope
Source§impl TryFrom<&str> for SpecConfigFileScope
impl TryFrom<&str> for SpecConfigFileScope
Source§impl VariantNames for SpecConfigFileScope
impl VariantNames for SpecConfigFileScope
Auto Trait Implementations§
impl Freeze for SpecConfigFileScope
impl RefUnwindSafe for SpecConfigFileScope
impl Send for SpecConfigFileScope
impl Sync for SpecConfigFileScope
impl Unpin for SpecConfigFileScope
impl UnsafeUnpin for SpecConfigFileScope
impl UnwindSafe for SpecConfigFileScope
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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