pub enum TomlFileError {
IoError(Error),
TomlDeserializationError(Error),
TomlSerializationError(Error),
}
Expand description
An error that occurred during reading or writing a TOML file.
Variants§
Trait Implementations§
Source§impl Debug for TomlFileError
impl Debug for TomlFileError
Source§impl Display for TomlFileError
impl Display for TomlFileError
Source§impl Error for TomlFileError
impl Error for TomlFileError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for TomlFileError
impl From<Error> for TomlFileError
Source§impl From<Error> for TomlFileError
impl From<Error> for TomlFileError
Auto Trait Implementations§
impl Freeze for TomlFileError
impl !RefUnwindSafe for TomlFileError
impl Send for TomlFileError
impl Sync for TomlFileError
impl Unpin for TomlFileError
impl !UnwindSafe for TomlFileError
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