Struct toml::de::Error [−][src]
pub struct Error { /* fields omitted */ }
Errors that can occur when deserializing a type.
Implementations
impl Error
[src]
impl Error
[src]Trait Implementations
impl Error for Error
[src]
impl Error for Error
[src]fn custom<T: Display>(msg: T) -> Error
[src]
pub fn invalid_type(unexp: Unexpected<'_>, exp: &dyn Expected) -> Self
[src]
pub fn invalid_value(unexp: Unexpected<'_>, exp: &dyn Expected) -> Self
[src]
pub fn invalid_length(len: usize, exp: &dyn Expected) -> Self
[src]
pub fn unknown_variant(variant: &str, expected: &'static [&'static str]) -> Self
[src]
pub fn unknown_field(field: &str, expected: &'static [&'static str]) -> Self
[src]
pub fn missing_field(field: &'static str) -> Self
[src]
pub fn duplicate_field(field: &'static str) -> Self
[src]
impl<'de> IntoDeserializer<'de, Error> for Value
[src]
impl<'de> IntoDeserializer<'de, Error> for Value
[src]type Deserializer = Self
The type of the deserializer being converted into.
fn into_deserializer(self) -> Self
[src]
impl<'de, 'b> IntoDeserializer<'de, Error> for &'b mut Deserializer<'de>
[src]
impl<'de, 'b> IntoDeserializer<'de, Error> for &'b mut Deserializer<'de>
[src]type Deserializer = Self
The type of the deserializer being converted into.