pub enum LoadMode {
System,
User,
}Expand description
The mode in which configuration files are loaded.
Variants§
System
System mode.
Only load from system-wide locations.
User
User mode.
Load from system-wide locations and user-specific locations (in accordance with XDG Base Directory specification).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoadMode
impl RefUnwindSafe for LoadMode
impl Send for LoadMode
impl Sync for LoadMode
impl Unpin for LoadMode
impl UnwindSafe for LoadMode
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