Enum serde_kicad_sexpr::ser::Error
source · [−]pub enum Error {
Message(String),
ExpectedStruct,
UnnamedBoolean,
UnnamedUnit,
UnnamedSeq,
Char,
Bytes,
ComplexEnum,
Map,
}
Variants
Message(String)
ExpectedStruct
This error will be returned if you request to serialize anything but a struct at root level.
UnnamedBoolean
This error will be returned if a boolean was detected in an unnamed container, i.e. a tuple or a sequence.
UnnamedUnit
This error will be returned if a unit was detected in an unnamed container, i.e. a tuple or a sequence.
UnnamedSeq
This error will be returned if a sequence was detected in an unnamed container, i.e. a tuple or a sequence.
Char
Bytes
ComplexEnum
Map
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more