Home
last modified time | relevance | path

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

/external/rust/crates/criterion/src/
Derror.rs3 use serde_json::Error as SerdeError;
21 SerdeError { enumerator
23 inner: SerdeError,
38 Error::SerdeError { path, inner } => write!( in fmt()
53 Error::SerdeError { .. } => "SerdeError", in description()
63 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/crosvm/devices/src/virtio/vsock/sys/
Dunix.rs71 kind: ErrorKind::SerdeError("missing field `cid`".into()), in params_from_key_values()
90 kind: ErrorKind::SerdeError("duplicate field `cid`".into()), in params_from_key_values()
99 kind: ErrorKind::SerdeError( in params_from_key_values()
128 kind: ErrorKind::SerdeError("missing field `cid`".into()), in params_from_key_values()
137 kind: ErrorKind::SerdeError("duplicate field `device`".into()), in params_from_key_values()
Dwindows.rs51 kind: ErrorKind::SerdeError("missing field `cid`".into()), in params_from_key_values()
60 kind: ErrorKind::SerdeError("duplicate field `cid`".into()), in params_from_key_values()
69 kind: ErrorKind::SerdeError("unknown field `invalid`, expected `cid`".into()), in params_from_key_values()
/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/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/crosvm/tools/audio_streams_conformance_test/src/
Derror.rs30 SerdeError(#[from] serde_json::Error), enumerator
/external/crosvm/devices/src/virtio/vhost/user/
Dmod.rs54 .error_here(ErrorKind::SerdeError("expected \"vhost\" parameter".into()))); in from_arg_value()
/external/crosvm/devices/src/virtio/block/
Dblock.rs133 kind: ErrorKind::SerdeError("missing field `path`".into()), in params_from_key_values()
369 kind: ErrorKind::SerdeError("disk id must be 20 or fewer characters".into()), in params_from_key_values()
/external/crosvm/serde_keyvalue/src/
Dkey_values.rs68 SerdeError(String), enumerator
85 ErrorKind::SerdeError(s) => write!(f, "{}", s), in fmt()
97 kind: ErrorKind::SerdeError(msg.to_string()), in custom()
1417 kind: ErrorKind::SerdeError("invalid length 1, expected a tuple of size 2".into()), in deserialize_tuple()
1619 kind: ErrorKind::SerdeError( in deserialize_set()
/external/crosvm/devices/src/pci/
Dstub.rs293 kind: ErrorKind::SerdeError("missing field `address`".into()), in params_missing_address()
/external/rust/crates/csv/src/
Dserializer.rs7 Error as SerdeError, Serialize, SerializeMap, SerializeSeq,
359 impl SerdeError for Error {
Ddeserializer.rs7 Error as SerdeError, IntoDeserializer, MapAccess, SeqAccess,
681 impl SerdeError for DeserializeError {