We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4d5383 commit e23289aCopy full SHA for e23289a
src/de/mod.rs
@@ -84,6 +84,8 @@ impl ::std::error::Error for Error {
84
}
85
86
87
+impl serde::de::StdError for Error {}
88
+
89
pub(crate) struct Deserializer<'b> {
90
slice: &'b [u8],
91
index: usize,
src/ser/mod.rs
@@ -47,6 +47,8 @@ impl ::std::error::Error for Error {
47
48
49
50
+impl serde::ser::StdError for Error {}
51
52
impl fmt::Display for Error {
53
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
54
write!(f, "Buffer is full")
0 commit comments