pub struct TomlError {
pub kind: TomlErrorKind,
pub offset: usize,
}Fields§
§kind: TomlErrorKind§offset: usizeImplementations§
Source§impl TomlError
impl TomlError
pub fn line_column(&self, input: &[u8]) -> TomlErrorPosition
Trait Implementations§
impl Copy for TomlError
impl Eq for TomlError
impl StructuralPartialEq for TomlError
Auto Trait Implementations§
impl Freeze for TomlError
impl RefUnwindSafe for TomlError
impl Send for TomlError
impl Sync for TomlError
impl Unpin for TomlError
impl UnsafeUnpin 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