pub struct TomlError<'a> {
pub src: Span<'a>,
pub kind: TomlErrorKind,
}Expand description
An error while parsing TOML.
Fields§
§src: Span<'a>An excerpt of the region of text that caused the error.
kind: TomlErrorKindThe type of parsing error; see TomlErrorKind.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TomlError<'a>
impl<'a> RefUnwindSafe for TomlError<'a>
impl<'a> Send for TomlError<'a>
impl<'a> Sync for TomlError<'a>
impl<'a> Unpin for TomlError<'a>
impl<'a> UnwindSafe for TomlError<'a>
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