pub enum Error {
TomlError(Error),
IoError(Error),
FromUtf8Error(FromUtf8Error),
InterpretError(String),
}
Expand description
An enum representing the kinds of errors that can be encountered
when trying to read a Config
object from a file or write it to a
file.
Variants§
TomlError(Error)
An error occured while parsing the toml
IoError(Error)
An error occured during file i/o
FromUtf8Error(FromUtf8Error)
An error occured interpreting file contents as utf8
InterpretError(String)
An error interpreting the parsed toml as a test configuration
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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