[−][src]Enum toml::DecodeErrorKind
Enumeration of possible errors which can occur while decoding a structure.
Variants
ApplicationError(String)
An error flagged by the application, e.g. value out of range
A field was expected, but none was found.
A field was found, but it was not an expected one.
A field was found, but it had the wrong type.
ExpectedMapKey(usize)
The nth map key was expected, but none was found.
ExpectedMapElement(usize)
The nth map element was expected, but none was found.
An enum decoding was requested, but no variants were supplied
The unit type was being decoded, but a non-zero length string was found
There was an error with the syntactical structure of the TOML.
CustomError(String)
A custom error was generated when decoding.
The end of the TOML input was reached too soon
InvalidType(&'static str)
Produced by serde ...
Trait Implementations
impl Debug for DecodeErrorKind
[src]
impl PartialEq<DecodeErrorKind> for DecodeErrorKind
[src]
fn eq(&self, other: &DecodeErrorKind) -> bool
[src]
fn ne(&self, other: &DecodeErrorKind) -> bool
[src]
impl StructuralPartialEq for DecodeErrorKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for DecodeErrorKind
impl Send for DecodeErrorKind
impl Sync for DecodeErrorKind
impl Unpin for DecodeErrorKind
impl UnwindSafe for DecodeErrorKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,