Struct toml_edit::TomlError [−][src]
pub struct TomlError { /* fields omitted */ }
Type representing a TOML parse error
Trait Implementations
impl Debug for TomlError
[src]
impl Debug for TomlError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for TomlError
[src]
impl Clone for TomlError
fn clone(&self) -> TomlError
[src]
fn clone(&self) -> TomlError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for TomlError
[src]
impl Eq for TomlError
impl PartialEq for TomlError
[src]
impl PartialEq for TomlError
fn eq(&self, other: &TomlError) -> bool
[src]
fn eq(&self, other: &TomlError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TomlError) -> bool
[src]
fn ne(&self, other: &TomlError) -> bool
This method tests for !=
.
impl Hash for TomlError
[src]
impl Hash for TomlError
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Display for TomlError
[src]
impl Display for TomlError
Displays a TOML parse error
Example
TOML parse error at line 1, column 10
|
1 | 00:32:00.a999999
| ^
Unexpected a
Expected digit
While parsing a Time
While parsing a Date-Time
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl StdError for TomlError
[src]
impl StdError for TomlError