pub enum FileScope {
Project,
Global,
System,
}Expand description
Which class of file a value came from, when it came from one.
Mirrors scope= on a spec’s file node, and decides the origin’s Trust.
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§
impl Copy for FileScope
impl Eq for FileScope
impl StructuralPartialEq for FileScope
Auto Trait Implementations§
impl Freeze for FileScope
impl RefUnwindSafe for FileScope
impl Send for FileScope
impl Sync for FileScope
impl Unpin for FileScope
impl UnsafeUnpin for FileScope
impl UnwindSafe for FileScope
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