/external/rust/android-crates-io/crates/http/src/ |
D | error.rs | 17 pub struct Error { struct 18 inner: ErrorKind, argument 34 impl fmt::Debug for Error { implementation 43 impl fmt::Display for Error { implementation 49 impl Error { impl 71 impl error::Error for Error { implementation 79 impl From<MaxSizeReached> for Error { implementation 80 fn from(err: MaxSizeReached) -> Error { in from() 87 impl From<status::InvalidStatusCode> for Error { implementation 88 fn from(err: status::InvalidStatusCode) -> Error { in from() [all …]
|
/external/rust/android-crates-io/extra_versions/crates/http/src/ |
D | error.rs | 17 pub struct Error { struct 18 inner: ErrorKind, argument 34 impl fmt::Debug for Error { implementation 43 impl fmt::Display for Error { implementation 49 impl Error { implementation 71 impl error::Error for Error { implementation 79 impl From<MaxSizeReached> for Error { implementation 80 fn from(err: MaxSizeReached) -> Error { in from() 87 impl From<status::InvalidStatusCode> for Error { implementation 88 fn from(err: status::InvalidStatusCode) -> Error { in from() [all …]
|
/external/rust/android-crates-io/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/android-crates-io/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/android-crates-io/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/android-crates-io/crates/der/src/ |
D | error.rs | 19 pub struct Error { struct 21 kind: ErrorKind, argument 27 impl Error { argument 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/android-crates-io/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/android-crates-io/crates/thiserror/tests/ |
D | test_display.rs | 19 struct Error { in test_braced() struct 20 msg: String, in test_braced() 31 struct Error { in test_braced_unused() struct 32 extra: usize, in test_braced_unused() 42 struct Error(usize); in test_tuple() struct 51 struct Error; in test_unit() struct 59 enum Error { in test_enum() enum 77 struct Error { in test_constants() struct 78 id: &'static str, in test_constants() 91 enum Error { in test_inherit() enum [all …]
|
/external/rust/android-crates-io/crates/nix/src/ |
D | poll_timeout.rs | 66 type Error = PollTimeoutTryFromError; typedef 67 fn try_from(x: Duration) -> std::result::Result<Self, Self::Error> { in try_from() argument 75 type Error = PollTimeoutTryFromError; typedef 76 fn try_from(x: u128) -> std::result::Result<Self, Self::Error> { in try_from() argument 84 type Error = PollTimeoutTryFromError; typedef 85 fn try_from(x: u64) -> std::result::Result<Self, Self::Error> { in try_from() argument 93 type Error = PollTimeoutTryFromError; typedef 94 fn try_from(x: u32) -> std::result::Result<Self, Self::Error> { in try_from() argument 112 type Error = PollTimeoutTryFromError; typedef 113 fn try_from(x: i128) -> std::result::Result<Self, Self::Error> { in try_from() argument [all …]
|
/external/rust/android-crates-io/crates/h2/src/ |
D | error.rs | 21 pub struct Error { struct 41 /// An `io::Error` occurred while trying to read or write. argument 47 impl Error { impl 67 pub fn get_io(&self) -> Option<&io::Error> { in get_io() 75 pub fn into_io(self) -> Option<io::Error> { in into_io() 119 impl From<proto::Error> for Error { implementation 120 fn from(src: proto::Error) -> Error { in from() 137 impl From<Reason> for Error { implementation 138 fn from(src: Reason) -> Error { in from() 145 impl From<SendError> for Error { implementation [all …]
|
/external/rust/android-crates-io/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/android-crates-io/crates/sec1/src/ |
D | error.rs | 14 pub enum Error { enum 39 impl fmt::Display for Error { implementation 54 impl From<der::Error> for Error { implementation 55 fn from(err: der::Error) -> Error { in from() 61 impl From<pem::Error> for Error { implementation 62 fn from(err: pem::Error) -> Error { in from() 68 impl From<pkcs8::Error> for Error { implementation 69 fn from(err: pkcs8::Error) -> Error { in from() 75 impl From<pkcs8::spki::Error> for Error { implementation 76 fn from(err: pkcs8::spki::Error) -> Error { in from() [all …]
|
/external/rust/android-crates-io/crates/serde_cbor/src/ |
D | error.rs | 13 pub struct Error(ErrorImpl); struct 31 impl Error { impl 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/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/android-crates-io/crates/zerovec/src/map/ |
D | serde_helpers.rs | 17 type Error = core::fmt::Error; in is_num_or_string() typedef 27 fn serialize_str(self, _value: &str) -> Result<Self::Ok, Self::Error> { in is_num_or_string() 35 ) -> Result<Self::Ok, Self::Error> { in is_num_or_string() 42 ) -> Result<Self::Ok, Self::Error> { in is_num_or_string() 46 fn serialize_bool(self, _value: bool) -> Result<Self::Ok, Self::Error> { in is_num_or_string() 49 fn serialize_i8(self, _value: i8) -> Result<Self::Ok, Self::Error> { in is_num_or_string() 52 fn serialize_i16(self, _value: i16) -> Result<Self::Ok, Self::Error> { in is_num_or_string() 55 fn serialize_i32(self, _value: i32) -> Result<Self::Ok, Self::Error> { in is_num_or_string() 58 fn serialize_i64(self, _value: i64) -> Result<Self::Ok, Self::Error> { in is_num_or_string() 66 fn serialize_u8(self, _value: u8) -> Result<Self::Ok, Self::Error> { in is_num_or_string() [all …]
|
/external/rust/android-crates-io/crates/litemap/src/ |
D | serde_helpers.rs | 17 type Error = core::fmt::Error; in is_num_or_string() typedef 27 fn serialize_str(self, _value: &str) -> Result<Self::Ok, Self::Error> { in is_num_or_string() 35 ) -> Result<Self::Ok, Self::Error> { in is_num_or_string() 42 ) -> Result<Self::Ok, Self::Error> { in is_num_or_string() 46 fn serialize_bool(self, _value: bool) -> Result<Self::Ok, Self::Error> { in is_num_or_string() 49 fn serialize_i8(self, _value: i8) -> Result<Self::Ok, Self::Error> { in is_num_or_string() 52 fn serialize_i16(self, _value: i16) -> Result<Self::Ok, Self::Error> { in is_num_or_string() 55 fn serialize_i32(self, _value: i32) -> Result<Self::Ok, Self::Error> { in is_num_or_string() 58 fn serialize_i64(self, _value: i64) -> Result<Self::Ok, Self::Error> { in is_num_or_string() 66 fn serialize_u8(self, _value: u8) -> Result<Self::Ok, Self::Error> { in is_num_or_string() [all …]
|
/external/rust/android-crates-io/crates/toml/src/ |
D | edit.rs | 10 pub struct Error { struct 14 impl Error { impl 24 impl serde::de::Error for Error { 35 impl std::fmt::Display for Error { implementation 41 impl std::error::Error for Error {} implementation 53 pub(crate) enum Error { enum 60 impl Error { impl 69 impl serde::ser::Error for Error { implementation 78 impl std::fmt::Display for Error { implementation 90 impl std::error::Error for Error {} implementation
|
/external/rust/android-crates-io/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/android-crates-io/crates/ciborium-io/src/ |
D | lib.rs | 31 type Error; typedef 34 fn read_exact(&mut self, data: &mut [u8]) -> Result<(), Self::Error>; in read_exact() 43 type Error; typedef 46 fn write_all(&mut self, data: &[u8]) -> Result<(), Self::Error>; in write_all() 49 fn flush(&mut self) -> Result<(), Self::Error>; in flush() 54 type Error = std::io::Error; typedef 57 fn read_exact(&mut self, data: &mut [u8]) -> Result<(), Self::Error> { in read_exact() 64 type Error = std::io::Error; typedef 67 fn write_all(&mut self, data: &[u8]) -> Result<(), Self::Error> { in write_all() 72 fn flush(&mut self) -> Result<(), Self::Error> { in flush() [all …]
|
/external/rust/android-crates-io/crates/rusqlite/src/ |
D | error.rs | 14 pub enum Error { enum 153 impl PartialEq for Error { implementation 218 impl From<str::Utf8Error> for Error { implementation 220 fn from(err: str::Utf8Error) -> Error { in from() 225 impl From<std::ffi::NulError> for Error { implementation 227 fn from(err: std::ffi::NulError) -> Error { in from() 236 impl From<FromSqlError> for Error { implementation 238 fn from(err: FromSqlError) -> Error { in from() 255 impl From<ffi::InitError> for Error { implementation 257 fn from(err: ffi::InitError) -> Error { in from() [all …]
|
/external/rust/android-crates-io/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/android-crates-io/crates/smccc/src/psci/ |
D | calls.rs | 31 ) -> Result<(), Error> { in cpu_suspend() argument 59 pub fn cpu_off<C: Call>() -> Result<(), Error> { in cpu_off() argument 68 ) -> Result<(), Error> { in cpu_on() argument 99 ) -> Result<AffinityState, Error> { in affinity_info() argument 126 pub fn migrate<C: Call>(target_cpu: u64) -> Result<(), Error> { in migrate() argument 136 pub fn migrate_info_type<C: Call>() -> Result<MigrateType, Error> { in migrate_info_type() argument 146 pub fn system_off<C: Call>() -> Result<(), Error> { in system_off() argument 151 pub fn system_reset<C: Call>() -> Result<(), Error> { in system_reset() argument 156 pub fn system_reset2<C: Call>(reset_type: u32, cookie: u64) -> Result<(), Error> { in system_reset2() argument 184 pub fn mem_protect<C: Call>(enable: bool) -> Result<bool, Error> { in mem_protect() argument [all …]
|
/external/rust/android-crates-io/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/android-crates-io/crates/gdbstub/src/conn/impls/ |
D | boxed.rs | 6 type Error = E; typedef 8 fn write(&mut self, byte: u8) -> Result<(), Self::Error> { in write() 12 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() 16 fn flush(&mut self) -> Result<(), Self::Error> { in flush() 20 fn on_session_start(&mut self) -> Result<(), Self::Error> { in on_session_start() 26 type Error = E; typedef 28 fn write(&mut self, byte: u8) -> Result<(), Self::Error> { in write() 32 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() 36 fn flush(&mut self) -> Result<(), Self::Error> { in flush() 40 fn on_session_start(&mut self) -> Result<(), Self::Error> { in on_session_start() [all …]
|