[−][src]Trait serde::ser::Error
Error is a trait that allows a Serialize to generically create a
Serializer error.
Required Methods
fn custom<T: Into<String>>(msg: T) -> Self
Raised when there is a general error when serializing a type.
Provided Methods
fn invalid_value(msg: &str) -> Self
Raised when a Serialize was passed an incorrect value.