Home
last modified time | relevance | path

Searched refs:SerdeError (Results 1 – 10 of 10) sorted by relevance

/external/rust/crates/criterion/src/
Derror.rs2 use serde_json::Error as SerdeError;
19 SerdeError { enumerator
21 inner: SerdeError,
34 Error::SerdeError { path, inner } => write!( in fmt()
48 Error::SerdeError { .. } => "SerdeError", in description()
57 Error::SerdeError { inner, .. } => Some(inner), in cause()
Dfs.rs24 let result: A = serde_json::from_str(string.as_str()).map_err(|inner| Error::SerdeError { in load()
65 let buf = serde_json::to_string(&data).map_err(|inner| Error::SerdeError { in save()
/external/rust/crates/tinytemplate/src/
Derror.rs22 SerdeError { enumerator
49 Error::SerdeError { err } in from()
72 Error::SerdeError { err } => { in fmt()
114 Error::SerdeError { .. } => "SerdeError", in description()
/external/adhd/sound_card_init/dsm/src/
Dutils.rs18 serde_yaml::from_reader(reader).map_err(|e| Error::SerdeError(path.clone(), e)) in duration_from_file()
67 .map_err(|e| Error::SerdeError(path.clone(), e))? in to_file()
Ddatastore.rs34 serde_yaml::from_reader(reader).map_err(|e| Error::SerdeError(path.to_owned(), e))?; in from_file()
48 .map_err(|e| Error::SerdeError(path.to_owned(), e))? in save()
Derror.rs41 SerdeError(PathBuf, serde_yaml::Error), enumerator
118 SerdeError(file_path, e) => write!(f, "{:?}: {}", file_path, e), in fmt()
/external/rust/crates/chrono/src/
Dlib.rs604 enum SerdeError<V: fmt::Display, D: fmt::Display> { enum
611 fn ne_timestamp<T: fmt::Display>(ts: T) -> SerdeError<T, u8> { in ne_timestamp()
612 SerdeError::NonExistent::<T, u8> { timestamp: ts } in ne_timestamp()
616 impl<V: fmt::Display, D: fmt::Display> fmt::Debug for SerdeError<V, D> { implementation
624 impl<V: fmt::Display, D: fmt::Display> fmt::Display for SerdeError<V, D> { implementation
627 &SerdeError::NonExistent { ref timestamp } => { in fmt()
630 &SerdeError::Ambiguous { ref timestamp, ref min, ref max } => write!( in fmt()
Ddatetime.rs1089 use {ne_timestamp, SerdeError};
1113 Err(E::custom(SerdeError::Ambiguous { timestamp: ts, min: min, max: max })) in serde_from()
/external/rust/crates/csv/src/
Dserializer.rs8 Error as SerdeError, Serialize, SerializeMap, SerializeSeq,
356 impl SerdeError for Error {
Ddeserializer.rs10 Error as SerdeError, IntoDeserializer, MapAccess, SeqAccess, Unexpected,
687 impl SerdeError for DeserializeError {