| /third_party/rust/crates/autocfg/src/ |
| D | error.rs | 10 pub struct Error { struct 11 kind: ErrorKind, argument 14 impl error::Error for Error { implementation 19 fn cause(&self) -> Option<&error::Error> { in cause() 29 impl fmt::Display for Error { implementation 30 fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { in fmt() method 53 pub fn from_exit(status: process::ExitStatus) -> Error { in from_exit() 59 pub fn from_io(e: io::Error) -> Error { in from_io() 65 pub fn from_num(e: num::ParseIntError) -> Error { in from_num() 71 pub fn from_utf8(e: str::Utf8Error) -> Error { in from_utf8() [all …]
|
| /third_party/rust/crates/log/src/kv/ |
| D | error.rs | 5 pub struct Error { struct 14 Value(value_bag::Error), argument 18 impl Error { impl 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 { implementation 83 impl error::Error for Error {} implementation 85 impl From<io::Error> for Error { implementation
|
| D | value.rs | 311 pub fn visit(&self, visitor: impl Visit<'v>) -> Result<(), Error> { in visit() argument 318 fn visit_any(&mut self, value: ValueBag) -> Result<(), value_bag::Error> { in visit() 324 fn visit_u64(&mut self, value: u64) -> Result<(), value_bag::Error> { in visit() 328 fn visit_i64(&mut self, value: i64) -> Result<(), value_bag::Error> { in visit() 332 fn visit_u128(&mut self, value: u128) -> Result<(), value_bag::Error> { in visit() 336 fn visit_i128(&mut self, value: i128) -> Result<(), value_bag::Error> { in visit() 340 fn visit_f64(&mut self, value: f64) -> Result<(), value_bag::Error> { in visit() 344 fn visit_bool(&mut self, value: bool) -> Result<(), value_bag::Error> { in visit() 348 fn visit_str(&mut self, value: &str) -> Result<(), value_bag::Error> { in visit() 352 fn visit_borrowed_str(&mut self, value: &'v str) -> Result<(), value_bag::Error> { in visit() [all …]
|
| /third_party/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 …]
|
| /third_party/nghttp2/src/ |
| D | quic.h | 41 struct Error { struct 42 Error(ErrorType type, uint64_t code) : type(type), code(code) {} in Error() function 43 Error() : type(ErrorType::Transport), code(0) {} in Error() function 45 ErrorType type; argument 49 Error err_transport(int liberr); argument
|
| /third_party/rust/rust/compiler/rustc_middle/src/ty/print/ |
| D | mod.rs | 17 type Error; typedef 19 fn print(&self, cx: P) -> Result<Self::Output, Self::Error>; in print() 32 type Error; typedef 46 ) -> Result<Self::Path, Self::Error> { in print_def_path() 56 ) -> Result<Self::Path, Self::Error> { in print_impl_path() 60 fn print_region(self, region: ty::Region<'tcx>) -> Result<Self::Region, Self::Error>; in print_region() 62 fn print_type(self, ty: Ty<'tcx>) -> Result<Self::Type, Self::Error>; in print_type() 67 ) -> Result<Self::DynExistential, Self::Error>; in print_dyn_existential() 69 fn print_const(self, ct: ty::Const<'tcx>) -> Result<Self::Const, Self::Error>; in print_const() 71 fn path_crate(self, cnum: CrateNum) -> Result<Self::Path, Self::Error>; in path_crate() [all …]
|
| /third_party/rust/crates/aho-corasick/src/ |
| D | error.rs | 10 pub struct Error { struct 11 kind: ErrorKind, argument 39 impl Error { implementation 45 pub(crate) fn state_id_overflow(max: usize) -> Error { in state_id_overflow() 52 ) -> Error { in premultiply_overflow() 57 impl error::Error for Error { implementation 70 impl fmt::Display for Error { implementation
|
| /third_party/rust/crates/serde/serde/src/ser/ |
| D | mod.rs | 142 pub trait Error: Sized $(+ $($supertrait)::+)* { trait 345 type Error: Error; typedef 405 fn serialize_bool(self, v: bool) -> Result<Self::Ok, Self::Error>; in serialize_bool() 427 fn serialize_i8(self, v: i8) -> Result<Self::Ok, Self::Error>; in serialize_i8() 449 fn serialize_i16(self, v: i16) -> Result<Self::Ok, Self::Error>; in serialize_i16() 471 fn serialize_i32(self, v: i32) -> Result<Self::Ok, Self::Error>; in serialize_i32() 489 fn serialize_i64(self, v: i64) -> Result<Self::Ok, Self::Error>; in serialize_i64() 509 fn serialize_i128(self, v: i128) -> Result<Self::Ok, Self::Error> { in serialize_i128() 534 fn serialize_u8(self, v: u8) -> Result<Self::Ok, Self::Error>; in serialize_u8() 556 fn serialize_u16(self, v: u16) -> Result<Self::Ok, Self::Error>; in serialize_u16() [all …]
|
| D | impossible.rs | 73 type Error = Error; typedef 83 fn end(self) -> Result<Ok, Error> { in end() argument 93 type Error = Error; typedef 103 fn end(self) -> Result<Ok, Error> { in end() argument 113 type Error = Error; typedef 123 fn end(self) -> Result<Ok, Error> { in end() argument 133 type Error = Error; typedef 143 fn end(self) -> Result<Ok, Error> { in end() argument 153 type Error = Error; typedef 171 fn end(self) -> Result<Ok, Error> { in end() argument [all …]
|
| /third_party/rust/rust/compiler/rustc_const_eval/src/util/ |
| D | type_name.rs | 18 type Error = std::fmt::Error; typedef 30 fn print_region(self, _region: ty::Region<'_>) -> Result<Self::Region, Self::Error> { in print_region() 34 fn print_type(mut self, ty: Ty<'tcx>) -> Result<Self::Type, Self::Error> { in print_type() 73 fn print_const(self, ct: ty::Const<'tcx>) -> Result<Self::Const, Self::Error> { in print_const() 80 ) -> Result<Self::DynExistential, Self::Error> { in print_dyn_existential() 84 fn path_crate(mut self, cnum: CrateNum) -> Result<Self::Path, Self::Error> { in path_crate() 93 ) -> Result<Self::Path, Self::Error> { in path_qualified() 99 print_prefix: impl FnOnce(Self) -> Result<Self::Path, Self::Error>, in path_append_impl() 119 print_prefix: impl FnOnce(Self) -> Result<Self::Path, Self::Error>, in path_append() 131 print_prefix: impl FnOnce(Self) -> Result<Self::Path, Self::Error>, in path_generic_args() [all …]
|
| /third_party/rust/crates/cxx/gen/lib/src/ |
| D | error.rs | 9 pub struct Error { struct 10 pub(crate) err: crate::gen::Error, argument 13 impl Error { impl 23 impl From<crate::gen::Error> for Error { implementation 29 impl Display for Error { implementation 35 impl Debug for Error { implementation 41 impl StdError for Error { implementation 47 impl IntoIterator for Error { implementation
|
| /third_party/rust/crates/regex/regex-capi/src/ |
| D | error.rs | 10 pub struct Error { struct 12 kind: ErrorKind, argument 19 Regex(regex::Error), argument 23 impl Error { impl 24 pub fn new(kind: ErrorKind) -> Error { in new() 38 impl fmt::Display for Error { implementation
|
| /third_party/rust/rust/src/tools/rustfmt/tests/target/ |
| D | type.rs | 27 fn impl_trait_fn_2<E>() -> impl Future<Item = &'a i64, Error = E> {} in impl_trait_fn_2() argument 51 impl Future<Item = (), Error = SomeError> + 'a, in do_something() argument 63 impl Future<Item = (), Error = SomeError> + 'a, in do_something() argument 140 ) -> Box<Future<Item = AnotherLongType, Error = ALongErrorType>> { in foo() argument
|
| /third_party/rust/crates/rust-openssl/openssl/src/ |
| D | error.rs | 61 pub fn errors(&self) -> &[Error] { in errors() 86 impl From<ErrorStack> for io::Error { implementation 87 fn from(e: ErrorStack) -> io::Error { in from() 92 impl From<ErrorStack> for fmt::Error { implementation 93 fn from(_: ErrorStack) -> fmt::Error { in from() 100 pub struct Error { struct 108 unsafe impl Sync for Error {} implementation 109 unsafe impl Send for Error {} implementation 111 impl Error { implementation 290 impl fmt::Debug for Error { implementation [all …]
|
| /third_party/rust/rust/src/tools/rustfmt/tests/source/ |
| D | type.rs | 21 fn impl_trait_fn_2<E>() -> impl Future<Item=&'a i64,Error=E> {} in impl_trait_fn_2() argument 46 ), Error = SomeError> + 'a, in do_something() argument 59 impl Future<Item = (), Error = SomeError> + 'a, in do_something() argument 138 …xType, b: SomeOtherLongComplexType) -> Box<Future<Item = AnotherLongType, Error = ALongErrorType>>… in foo() argument
|
| /third_party/rust/crates/rust-openssl/openssl/src/ssl/ |
| D | error.rs | 59 pub struct Error { struct 60 pub(crate) code: ErrorCode, argument 61 pub(crate) cause: Option<InnerError>, argument 64 impl Error { implementation 69 pub fn io_error(&self) -> Option<&io::Error> { in io_error() 76 pub fn into_io_error(self) -> Result<io::Error, Error> { in into_io_error() argument 91 impl From<ErrorStack> for Error { implementation 92 fn from(e: ErrorStack) -> Error { in from() 100 impl fmt::Display for Error { implementation 125 impl error::Error for Error { implementation
|
| /third_party/rust/rust/src/librustdoc/ |
| D | error.rs | 8 pub(crate) struct Error { struct 13 impl error::Error for Error {} argument 15 impl std::fmt::Display for Error { implementation 26 impl PathError for Error { implementation
|
| /third_party/rust/crates/syn/src/ |
| D | error.rs | 100 pub struct Error { struct 101 messages: Vec<ErrorMessage>, argument 127 impl Error { impl 161 fn new(span: Span, message: String) -> Error { in new() 192 fn new_spanned(tokens: TokenStream, message: String) -> Error { in new_spanned() 270 pub fn combine(&mut self, another: Error) { in combine() 327 pub(crate) fn new_at<T: Display>(scope: Span, cursor: Cursor, message: T) -> Error { in new_at() 337 pub(crate) fn new2<T: Display>(start: Span, end: Span, message: T) -> Error { in new2() 340 fn new2(start: Span, end: Span, message: String) -> Error { in new2() 350 impl Debug for Error { implementation [all …]
|
| /third_party/rust/rust/tests/ui/macros/ |
| D | try-macro.rs | 34 enum Error { enum 39 impl From<ParseIntError> for Error { implementation 40 fn from(_: ParseIntError) -> Error { in from() 45 impl From<ParseFloatError> for Error { implementation 46 fn from(_: ParseFloatError) -> Error { in from()
|
| /third_party/rust/rust/tests/ui/suggestions/ |
| D | restrict-existing-type-bounds.rs | 2 type Error; typedef 5 fn try_add(self, rhs: Rhs) -> Result<Self::Output, Self::Error>; in try_add() 9 type Error = <T as TryAdd>::Error; typedef 12 fn try_add(self, rhs: Self) -> Result<Self::Output, Self::Error> { in try_add() 22 type Error = <T as TryAdd>::Error; typedef 25 fn try_add(self, rhs: Self) -> Result<Self::Output, Self::Error> { in try_add()
|
| /third_party/rust/crates/codespan/codespan-reporting/src/ |
| D | files.rs | 31 pub enum Error { enum 46 impl From<std::io::Error> for Error { implementation 47 fn from(err: std::io::Error) -> Error { in from() 52 impl std::fmt::Display for Error { implementation 71 impl std::error::Error for Error { implementation 95 fn name(&'a self, id: Self::FileId) -> Result<Self::Name, Error>; in name() argument 98 fn source(&'a self, id: Self::FileId) -> Result<Self::Source, Error>; in source() argument 113 fn line_index(&'a self, id: Self::FileId, byte_index: usize) -> Result<usize, Error>; in line_index() argument 127 fn line_number(&'a self, id: Self::FileId, line_index: usize) -> Result<usize, Error> { in line_number() argument 146 ) -> Result<usize, Error> { in column_number() argument [all …]
|
| /third_party/flatbuffers/rust/flexbuffers/src/reader/ |
| D | mod.rs | 34 pub enum Error { enum 73 impl std::convert::From<std::str::Utf8Error> for Error { implementation 78 impl fmt::Display for Error { implementation 95 impl std::error::Error for Error { implementation 196 fn safe_sub(a: usize, b: usize) -> Result<usize, Error> { in safe_sub() argument 200 fn deref_offset(buffer: &[u8], address: usize, width: BitWidth) -> Result<usize, Error> { in deref_offset() argument 212 ) -> Result<Self, Error> { in new() argument 230 pub fn get_root(buffer: B) -> Result<Self, Error> { in get_root() argument 286 fn expect_type(&self, ty: FlexBufferType) -> Result<(), Error> { in expect_type() argument 296 fn expect_bw(&self, bw: BitWidth) -> Result<(), Error> { in expect_bw() argument [all …]
|
| /third_party/rust/rust/tests/ui/recursion_limit/ |
| D | issue-40003.rs | 24 type Error; typedef 34 where <Self as Future>::Item: stream::Stream<Error=Self::Error>, in flatten_stream() 44 type Error; typedef 51 type Error = F::Error; typedef 61 type Error = E; typedef 77 type Error = A::Error; typedef 89 type Error = <F::Item as Stream>::Error; typedef 98 type Error = E; typedef 107 type Error; typedef 110 where Self::Item: IntoFuture<Error = <Self as Stream>::Error>, in buffer_unordered() [all …]
|
| /third_party/rust/rust/tests/rustdoc/ |
| D | decl-trailing-whitespace.rs | 5 pub struct Error; struct 15 ) -> Option<Result<usize, Error>>; in poll_write() argument 19 ) -> Option<Result<(), Error>>; in poll_flush() argument 23 ) -> Option<Result<(), Error>>; in poll_close() argument 29 ) -> Option<Result<usize, Error>> {} in poll_write_vectored() argument
|
| /third_party/rust/rust/compiler/rustc_symbol_mangling/src/ |
| D | legacy.rs | 203 type Error = fmt::Error; typedef 215 fn print_region(self, _region: ty::Region<'_>) -> Result<Self::Region, Self::Error> { in print_region() 219 fn print_type(mut self, ty: Ty<'tcx>) -> Result<Self::Type, Self::Error> { in print_type() 253 ) -> Result<Self::DynExistential, Self::Error> { in print_dyn_existential() 265 fn print_const(self, ct: ty::Const<'tcx>) -> Result<Self::Const, Self::Error> { in print_const() 283 fn path_crate(self, cnum: CrateNum) -> Result<Self::Path, Self::Error> { in path_crate() 291 ) -> Result<Self::Path, Self::Error> { in path_qualified() 307 print_prefix: impl FnOnce(Self) -> Result<Self::Path, Self::Error>, in path_append_impl() 331 print_prefix: impl FnOnce(Self) -> Result<Self::Path, Self::Error>, in path_append() 354 print_prefix: impl FnOnce(Self) -> Result<Self::Path, Self::Error>, in path_generic_args() [all …]
|