mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-25 08:07:56 +00:00
Add Error::unknown_field_error
This commit is contained in:
+3
-1
@@ -12,7 +12,9 @@ pub trait Error {
|
||||
|
||||
fn end_of_stream_error() -> Self;
|
||||
|
||||
fn missing_field_error(&'static str) -> Self;
|
||||
fn unknown_field_error(field: &str) -> Self;
|
||||
|
||||
fn missing_field_error(field: &'static str) -> Self;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user