pub enum Scope {
Any,
Global,
Env,
}Expand description
Where a setting will accept a value from.
Enforced by the merge rather than left to each layer, because mise calls this a security property and a check every layer has to remember is not one.
Variants§
Any
Anywhere.
Global
Never from a file a repository can carry — only the user’s own configuration, the machine’s, the environment, or the command line.
Env
Never from a file at all.
Trait Implementations§
impl Copy for Scope
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scope
impl UnwindSafe for Scope
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