Struct erased_serde::Error [−][src]
pub struct Error { /* fields omitted */ }
Error when a Serializer
or Deserializer
trait object fails.
Trait Implementations
impl Error for Error
[src]
impl Error for Error
[src]pub struct Error { /* fields omitted */ }
Error when a Serializer
or Deserializer
trait object fails.
impl Error for Error
[src]fn custom<T: Display>(msg: T) -> Self
[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 RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error