| /external/crosvm/system_api/src/bindings/client/ |
| D | org_chromium_userdataauth.rs | 8 fn is_mounted(&self, request: Vec<u8>) -> Result<Vec<u8>, dbus::Error>; in is_mounted() 9 fn unmount(&self, request: Vec<u8>) -> Result<Vec<u8>, dbus::Error>; in unmount() 10 fn mount(&self, request: Vec<u8>) -> Result<Vec<u8>, dbus::Error>; in mount() 11 fn remove(&self, request: Vec<u8>) -> Result<Vec<u8>, dbus::Error>; in remove() 12 fn list_keys(&self, request: Vec<u8>) -> Result<Vec<u8>, dbus::Error>; in list_keys() 13 fn get_key_data(&self, request: Vec<u8>) -> Result<Vec<u8>, dbus::Error>; in get_key_data() 14 fn check_key(&self, request: Vec<u8>) -> Result<Vec<u8>, dbus::Error>; in check_key() 15 fn add_key(&self, request: Vec<u8>) -> Result<Vec<u8>, dbus::Error>; in add_key() 16 fn remove_key(&self, request: Vec<u8>) -> Result<Vec<u8>, dbus::Error>; in remove_key() 17 fn mass_remove_keys(&self, request: Vec<u8>) -> Result<Vec<u8>, dbus::Error>; in mass_remove_keys() [all …]
|
| /external/rust/crates/thiserror/tests/ |
| D | test_display.rs | 12 struct Error { in test_braced() struct 13 msg: String, in test_braced() 24 struct Error { in test_braced_unused() struct 25 extra: usize, in test_braced_unused() 35 struct Error(usize); in test_tuple() struct 44 struct Error; in test_unit() struct 52 enum Error { in test_enum() enum 70 struct Error { in test_constants() struct 71 id: &'static str, in test_constants() 84 enum Error { in test_inherit() enum [all …]
|
| /external/rust/crates/ciborium/src/ |
| D | tag.rs | 23 fn deserialize<D: de::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> { in deserialize() 33 fn serialize<S: ser::Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error> { in serialize() 51 fn deserialize<D: de::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> { in deserialize() 61 fn serialize<S: ser::Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error> { in serialize() 76 fn deserialize<D: de::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> { in deserialize() 87 fn serialize<S: ser::Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error> { in serialize() 109 type Error = D::Error; typedef 112 fn deserialize_any<V: de::Visitor<'de>>(self, visitor: V) -> Result<V::Value, Self::Error> { in deserialize_any() 139 type Error = D::Error; typedef 146 ) -> Result<(V::Value, Self::Variant), Self::Error> { in variant_seed() [all …]
|
| /external/rust/crates/pkcs1/src/ |
| D | error.rs | 14 pub enum Error { enum 34 impl fmt::Display for Error { implementation 46 impl From<der::Error> for Error { implementation 47 fn from(err: der::Error) -> Error { in from() 53 impl From<pem::Error> for Error { implementation 54 fn from(err: pem::Error) -> Error { in from() 60 impl From<Error> for pkcs8::Error { implementation 61 fn from(err: Error) -> pkcs8::Error { in from() 71 impl From<pkcs8::Error> for Error { implementation 72 fn from(err: pkcs8::Error) -> Error { in from() [all …]
|
| /external/rust/crates/der/src/ |
| D | error.rs | 19 pub struct Error { struct 21 kind: ErrorKind, argument 27 impl Error { impl 29 pub fn new(kind: ErrorKind, position: Length) -> Error { in new() 74 impl std::error::Error for Error {} implementation 76 impl fmt::Display for Error { implementation 88 impl From<ErrorKind> for Error { implementation 89 fn from(kind: ErrorKind) -> Error { in from() 97 impl From<Infallible> for Error { implementation 98 fn from(_: Infallible) -> Error { in from() [all …]
|
| /external/rust/crates/pkcs8/src/ |
| D | error.rs | 14 pub enum Error { enum 37 impl fmt::Display for Error { implementation 51 impl std::error::Error for Error {} implementation 53 impl From<der::Error> for Error { implementation 54 fn from(err: der::Error) -> Error { in from() 59 impl From<der::ErrorKind> for Error { implementation 60 fn from(err: der::ErrorKind) -> Error { in from() 66 impl From<pem::Error> for Error { implementation 67 fn from(err: pem::Error) -> Error { in from() 73 impl From<pkcs5::Error> for Error { implementation [all …]
|
| /external/rust/crates/futures-sink/src/ |
| D | lib.rs | 54 type Error; typedef 68 fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>; in poll_ready() argument 89 fn start_send(self: Pin<&mut Self>, item: Item) -> Result<(), Self::Error>; in start_send() argument 103 fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>; in poll_flush() argument 116 fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>; in poll_close() argument 120 type Error = S::Error; typedef 122 fn poll_ready(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_ready() argument 126 fn start_send(mut self: Pin<&mut Self>, item: Item) -> Result<(), Self::Error> { in start_send() argument 130 fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_flush() argument 134 fn poll_close(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_close() argument [all …]
|
| /external/rust/crates/ciborium/src/value/ |
| D | de.rs | 97 ) -> Result<Self::Value, D::Error> { in visit_some() 110 ) -> Result<Self::Value, D::Error> { in visit_newtype_struct() 115 fn visit_seq<A: de::SeqAccess<'de>>(self, mut acc: A) -> Result<Self::Value, A::Error> { in visit_seq() 126 fn visit_map<A: de::MapAccess<'de>>(self, mut acc: A) -> Result<Self::Value, A::Error> { in visit_map() 137 fn visit_enum<A: de::EnumAccess<'de>>(self, acc: A) -> Result<Self::Value, A::Error> { in visit_enum() 150 fn visit_seq<A: de::SeqAccess<'de>>(self, mut acc: A) -> Result<Self::Value, A::Error> { in visit_enum() 169 fn deserialize<D: de::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> { in deserialize() 182 fn raw(value: &Value) -> Result<u128, Error> { in integer() argument 223 type Error = Error; typedef 226 fn deserialize_any<V: de::Visitor<'de>>(self, visitor: V) -> Result<V::Value, Self::Error> { in deserialize_any() [all …]
|
| D | ser.rs | 11 fn serialize<S: ser::Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error> { in serialize() 114 type Error = Error; typedef 147 fn serialize_none(self) -> Result<Value, Error> { in serialize_none() argument 152 fn serialize_some<U: ?Sized + ser::Serialize>(self, value: &U) -> Result<Value, Error> { in serialize_some() argument 157 fn serialize_unit(self) -> Result<Value, Error> { in serialize_unit() argument 162 fn serialize_unit_struct(self, _name: &'static str) -> Result<Value, Error> { in serialize_unit_struct() argument 172 ) -> Result<Value, Error> { in serialize_unit_variant() argument 181 ) -> Result<Value, Error> { in serialize_newtype_struct() argument 192 ) -> Result<Value, Error> { in serialize_newtype_variant() argument 200 fn serialize_seq(self, length: Option<usize>) -> Result<Self::SerializeSeq, Error> { in serialize_seq() argument [all …]
|
| /external/rust/crates/sec1/src/ |
| D | error.rs | 14 pub enum Error { enum 40 impl fmt::Display for Error { implementation 56 impl From<der::Error> for Error { implementation 57 fn from(err: der::Error) -> Error { in from() 63 impl From<pem::Error> for Error { implementation 64 fn from(err: pem::Error) -> Error { in from() 70 impl From<pkcs8::Error> for Error { implementation 71 fn from(err: pkcs8::Error) -> Error { in from() 77 impl From<pkcs8::spki::Error> for Error { implementation 78 fn from(err: pkcs8::spki::Error) -> Error { in from() [all …]
|
| /external/flatbuffers/rust/flexbuffers/src/builder/ |
| D | ser.rs | 43 fn finish_if_not_nested(&mut self) -> Result<(), Error> { in finish_if_not_nested() argument 67 fn end_vector(&mut self) -> Result<(), Error> { in end_vector() argument 72 fn end_map(&mut self) -> Result<(), Error> { in end_map() argument 81 pub enum Error { enum 87 impl std::fmt::Display for Error { implementation 88 fn fmt(&self, f: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> { in fmt() 92 impl std::error::Error for Error {} implementation 93 impl ser::Error for Error { implementation 103 type Error = Error; typedef 110 fn end(self) -> Result<Self::Ok, Self::Error> { in end() [all …]
|
| /external/rust/crates/serde_cbor/src/ |
| D | error.rs | 13 pub struct Error(ErrorImpl); struct 31 impl Error { implementation 37 pub(crate) fn syntax(code: ErrorCode, offset: u64) -> Error { in syntax() 42 pub(crate) fn io(error: io::Error) -> Error { in io() 60 pub fn scratch_too_small(offset: u64) -> Error { in scratch_too_small() 68 pub(crate) fn scratch_too_small(offset: u64) -> Error { in scratch_too_small() 79 pub fn message<T: fmt::Display>(_msg: T) -> Error { in message() 97 pub(crate) fn message<T: fmt::Display>(_msg: T) -> Error { in message() 117 pub fn eof(offset: u64) -> Error { in eof() 196 impl error::Error for Error { implementation [all …]
|
| /external/rust/crates/ciborium-io/src/ |
| D | lib.rs | 33 type Error; typedef 36 fn read_exact(&mut self, data: &mut [u8]) -> Result<(), Self::Error>; in read_exact() 45 type Error; typedef 48 fn write_all(&mut self, data: &[u8]) -> Result<(), Self::Error>; in write_all() 51 fn flush(&mut self) -> Result<(), Self::Error>; in flush() 56 type Error = std::io::Error; typedef 59 fn read_exact(&mut self, data: &mut [u8]) -> Result<(), Self::Error> { in read_exact() 66 type Error = std::io::Error; typedef 69 fn write_all(&mut self, data: &[u8]) -> Result<(), Self::Error> { in write_all() 74 fn flush(&mut self) -> Result<(), Self::Error> { in flush() [all …]
|
| /external/rust/crates/futures-channel/src/mpsc/ |
| D | sink_impl.rs | 7 type Error = SendError; typedef 9 fn poll_ready(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_ready() argument 13 fn start_send(mut self: Pin<&mut Self>, msg: T) -> Result<(), Self::Error> { in start_send() argument 17 fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_flush() argument 27 fn poll_close(mut self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_close() argument 34 type Error = SendError; typedef 36 fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_ready() argument 40 fn start_send(mut self: Pin<&mut Self>, msg: T) -> Result<(), Self::Error> { in start_send() argument 44 fn poll_flush(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_flush() argument 48 fn poll_close(mut self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_close() argument [all …]
|
| /external/rust/crates/ciborium/src/ser/ |
| D | mod.rs | 36 type Error = Error<W::Error>; typedef 47 fn serialize_bool(self, v: bool) -> Result<(), Self::Error> { in serialize_bool() 55 fn serialize_i8(self, v: i8) -> Result<(), Self::Error> { in serialize_i8() 60 fn serialize_i16(self, v: i16) -> Result<(), Self::Error> { in serialize_i16() 65 fn serialize_i32(self, v: i32) -> Result<(), Self::Error> { in serialize_i32() 70 fn serialize_i64(self, v: i64) -> Result<(), Self::Error> { in serialize_i64() 78 fn serialize_i128(self, v: i128) -> Result<(), Self::Error> { in serialize_i128() 104 fn serialize_u8(self, v: u8) -> Result<(), Self::Error> { in serialize_u8() 109 fn serialize_u16(self, v: u16) -> Result<(), Self::Error> { in serialize_u16() 114 fn serialize_u32(self, v: u32) -> Result<(), Self::Error> { in serialize_u32() [all …]
|
| /external/rust/crates/csv/src/ |
| D | serializer.rs | 25 ) -> Result<(), Error> { in serialize() argument 35 type Error = Error; typedef 44 fn serialize_bool(self, v: bool) -> Result<Self::Ok, Self::Error> { in serialize_bool() 52 fn serialize_i8(self, v: i8) -> Result<Self::Ok, Self::Error> { in serialize_i8() 57 fn serialize_i16(self, v: i16) -> Result<Self::Ok, Self::Error> { in serialize_i16() 62 fn serialize_i32(self, v: i32) -> Result<Self::Ok, Self::Error> { in serialize_i32() 67 fn serialize_i64(self, v: i64) -> Result<Self::Ok, Self::Error> { in serialize_i64() 78 fn serialize_u8(self, v: u8) -> Result<Self::Ok, Self::Error> { in serialize_u8() 83 fn serialize_u16(self, v: u16) -> Result<Self::Ok, Self::Error> { in serialize_u16() 88 fn serialize_u32(self, v: u32) -> Result<Self::Ok, Self::Error> { in serialize_u32() [all …]
|
| /external/rust/crates/ciborium/src/de/ |
| D | mod.rs | 59 fn recurse<V, F: FnOnce(&mut Self) -> Result<V, Error<R::Error>>>( in recurse() argument 74 fn integer(&mut self, mut header: Option<Header>) -> Result<(bool, u128), Error<R::Error>> { in integer() argument 125 type Error = Error<R::Error>; typedef 128 fn deserialize_any<V: de::Visitor<'de>>(self, visitor: V) -> Result<V::Value, Self::Error> { in deserialize_any() 198 fn deserialize_bool<V: de::Visitor<'de>>(self, visitor: V) -> Result<V::Value, Self::Error> { in deserialize_bool() 212 fn deserialize_f32<V: de::Visitor<'de>>(self, visitor: V) -> Result<V::Value, Self::Error> { in deserialize_f32() 217 fn deserialize_f64<V: de::Visitor<'de>>(self, visitor: V) -> Result<V::Value, Self::Error> { in deserialize_f64() 227 fn deserialize_i8<V: de::Visitor<'de>>(self, visitor: V) -> Result<V::Value, Self::Error> { in deserialize_i8() 231 fn deserialize_i16<V: de::Visitor<'de>>(self, visitor: V) -> Result<V::Value, Self::Error> { in deserialize_i16() 235 fn deserialize_i32<V: de::Visitor<'de>>(self, visitor: V) -> Result<V::Value, Self::Error> { in deserialize_i32() [all …]
|
| /external/rust/crates/gdbstub/src/conn/impls/ |
| D | boxed.rs | 7 type Error = E; typedef 9 fn write(&mut self, byte: u8) -> Result<(), Self::Error> { in write() 13 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() 17 fn flush(&mut self) -> Result<(), Self::Error> { in flush() 21 fn on_session_start(&mut self) -> Result<(), Self::Error> { in on_session_start() 27 type Error = E; typedef 29 fn write(&mut self, byte: u8) -> Result<(), Self::Error> { in write() 33 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() 37 fn flush(&mut self) -> Result<(), Self::Error> { in flush() 41 fn on_session_start(&mut self) -> Result<(), Self::Error> { in on_session_start() [all …]
|
| D | mod.rs | 17 type Error = E; typedef 19 fn write(&mut self, byte: u8) -> Result<(), Self::Error> { in write() 23 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() 27 fn flush(&mut self) -> Result<(), Self::Error> { in flush() 31 fn on_session_start(&mut self) -> Result<(), Self::Error> { in on_session_start() 37 type Error = E; typedef 39 fn write(&mut self, byte: u8) -> Result<(), Self::Error> { in write() 43 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() 47 fn flush(&mut self) -> Result<(), Self::Error> { in flush() 51 fn on_session_start(&mut self) -> Result<(), Self::Error> { in on_session_start() [all …]
|
| /external/rust/crates/log/src/kv/ |
| D | error.rs | 5 pub struct Error { struct 14 Value(value_bag::Error), argument 18 impl Error { implementation 34 pub(super) fn into_value(self) -> value_bag::Error { in into_value() 45 impl fmt::Display for Error { implementation 58 impl From<fmt::Error> for Error { implementation 71 impl Error { impl 83 impl error::Error for Error {} implementation 85 impl From<io::Error> for Error { implementation
|
| /external/rust/crates/rusqlite/src/ |
| D | error.rs | 14 pub enum Error { enum 146 impl PartialEq for Error { implementation 208 impl From<str::Utf8Error> for Error { implementation 210 fn from(err: str::Utf8Error) -> Error { in from() 215 impl From<std::ffi::NulError> for Error { implementation 217 fn from(err: std::ffi::NulError) -> Error { in from() 226 impl From<FromSqlError> for Error { implementation 228 fn from(err: FromSqlError) -> Error { in from() 244 impl fmt::Display for Error { implementation 325 impl error::Error for Error { implementation [all …]
|
| /external/rust/crates/tinytemplate/src/ |
| D | error.rs | 11 pub enum Error { enum 47 impl From<SerdeJsonError> for Error { implementation 48 fn from(err: SerdeJsonError) -> Error { in from() 52 impl From<fmt::Error> for Error { implementation 53 fn from(err: fmt::Error) -> Error { in from() 57 impl fmt::Display for Error { implementation 109 impl StdError for Error { implementation 126 pub(crate) fn lookup_error(source: &str, step: &str, path: PathSlice, current: &Value) -> Error { in lookup_error() 156 pub(crate) fn truthiness_error(source: &str, path: PathSlice) -> Error { in truthiness_error() 174 pub(crate) fn not_iterable_error(source: &str, path: PathSlice) -> Error { in not_iterable_error() [all …]
|
| /external/rust/crates/walkdir/src/ |
| D | error.rs | 28 pub struct Error { struct 30 inner: ErrorInner, argument 35 Io { path: Option<PathBuf>, err: io::Error }, argument 39 impl Error { implementation 143 pub fn io_error(&self) -> Option<&io::Error> { in io_error() 155 pub fn into_io_error(self) -> Option<io::Error> { in into_io_error() 165 err: io::Error, in from_path() 199 impl error::Error for Error { implementation 208 fn cause(&self) -> Option<&dyn error::Error> { in cause() 220 impl fmt::Display for Error { implementation [all …]
|
| /external/rust/crates/serde_test/src/ |
| D | ser.rs | 80 type Error = Error; typedef 90 fn serialize_bool(self, v: bool) -> Result<(), Error> { in serialize_bool() argument 95 fn serialize_i8(self, v: i8) -> Result<(), Error> { in serialize_i8() argument 100 fn serialize_i16(self, v: i16) -> Result<(), Error> { in serialize_i16() argument 105 fn serialize_i32(self, v: i32) -> Result<(), Error> { in serialize_i32() argument 110 fn serialize_i64(self, v: i64) -> Result<(), Error> { in serialize_i64() argument 115 fn serialize_u8(self, v: u8) -> Result<(), Error> { in serialize_u8() argument 120 fn serialize_u16(self, v: u16) -> Result<(), Error> { in serialize_u16() argument 125 fn serialize_u32(self, v: u32) -> Result<(), Error> { in serialize_u32() argument 130 fn serialize_u64(self, v: u64) -> Result<(), Error> { in serialize_u64() argument [all …]
|
| /external/rust/crates/serde_cbor/src/value/ |
| D | ser.rs | 42 type Error = Error; typedef 53 fn serialize_bool(self, value: bool) -> Result<Value, Error> { in serialize_bool() argument 58 fn serialize_i8(self, value: i8) -> Result<Value, Error> { in serialize_i8() argument 63 fn serialize_i16(self, value: i16) -> Result<Value, Error> { in serialize_i16() argument 68 fn serialize_i32(self, value: i32) -> Result<Value, Error> { in serialize_i32() argument 73 fn serialize_i64(self, value: i64) -> Result<Value, Error> { in serialize_i64() argument 77 fn serialize_i128(self, value: i128) -> Result<Value, Error> { in serialize_i128() argument 82 fn serialize_u8(self, value: u8) -> Result<Value, Error> { in serialize_u8() argument 87 fn serialize_u16(self, value: u16) -> Result<Value, Error> { in serialize_u16() argument 92 fn serialize_u32(self, value: u32) -> Result<Value, Error> { in serialize_u32() argument [all …]
|