Struct yaml_peg::serialize::SerdeError [−][src]
serde
only.Expand description
The error type for the serialization.
If the error is used at deserializing to a custom data,
the field [SerdeError.pos
] will provide the position of the original YAML document.
Fields
msg: String
Message.
pos: u64
The original position of the node if provided.
If not provided, this field becomes zero.
Trait Implementations
Raised when there is general error when deserializing a type. Read more
Raised when a Deserialize
receives a type different from what it was
expecting. Read more
Raised when a Deserialize
receives a value of the right type but that
is wrong for some other reason. Read more
Raised when deserializing a sequence or map and the input data contains too many or too few elements. Read more
Raised when a Deserialize
enum type received a variant with an
unrecognized name. Read more
Raised when a Deserialize
struct type received a field with an
unrecognized name. Read more
Raised when a Deserialize
struct type expected to receive a required
field with a particular name but that field was not present in the
input. Read more
Raised when a Deserialize
struct type received more than one of the
same field. Read more