Enum mg::DefaultConfig
source · pub enum DefaultConfig {
Dir(Result<PathBuf>),
File(Result<PathBuf>, &'static str),
}
Expand description
A directory or a file to create if it does not exist.
Variants§
Dir(Result<PathBuf>)
A config directory.
File(Result<PathBuf>, &'static str)
A config file with its content.
Auto Trait Implementations§
impl !RefUnwindSafe for DefaultConfig
impl Send for DefaultConfig
impl Sync for DefaultConfig
impl Unpin for DefaultConfig
impl !UnwindSafe for DefaultConfig
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