Trait serde::ser::Error
[−]
[src]
pub trait Error: Sized + Error { fn custom<T: Display>(msg: T) -> Self; }
Error
is a trait that allows a Serialize
to generically create a
Serializer
error.