Enum singlefile_formats::toml_serde::TomlError
source · pub enum TomlError {
IoError(Error),
SerializeError(Error),
DeserializeError(Error),
}
Available on crate feature
toml-serde
only.Expand description
An error that can occur while using Toml
.
Variants§
IoError(Error)
An error occured while reading data to the string buffer.
SerializeError(Error)
An error occurred while serializing.
DeserializeError(Error)
An error occurred while deserializing.
Trait Implementations§
source§impl Error for TomlError
impl Error for TomlError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl !RefUnwindSafe for TomlError
impl Send for TomlError
impl Sync for TomlError
impl Unpin for TomlError
impl !UnwindSafe for TomlError
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