Enum de_regex::Error [−][src]
pub enum Error { BadRegex(Error), NoMatch(), BadValue { name: String, value: String, }, Custom(String), }
An error that occurred during deserialization.
Variants
BadRegex(Error)
An error occurred while parsing the regular expression
The string doesn’t match the pattern
A value couldn’t be parsed into the required type
Show fields
Custom(String)
Some other deserialization/serde related error
Trait Implementations
impl Error for Error
[src]
impl Error for Error
[src]fn custom<T>(msg: T) -> Self where
T: Display,
[src]
T: Display,
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]
Auto Trait Implementations
impl RefUnwindSafe for Error
impl RefUnwindSafe for Error
impl UnwindSafe for Error
impl UnwindSafe for Error