pub struct ConfigFile {
pub path: PathBuf,
pub fmt: ConfigFileFmt,
pub handle: Option<File>,
}
Expand description
Information for the configuration file.
The configuration file always has a stem of “ocean” (case-insensitive).
Fields§
§path: PathBuf
The location of the configuration file.
fmt: ConfigFileFmt
The format with which to parse the file.
handle: Option<File>
An open handle to the file at path
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConfigFile
impl RefUnwindSafe for ConfigFile
impl Send for ConfigFile
impl Sync for ConfigFile
impl Unpin for ConfigFile
impl UnwindSafe for ConfigFile
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