Home
last modified time | relevance | path

Searched defs:static (Results 1 – 25 of 152) sorted by relevance

1234567

/external/rust/crates/thiserror/src/
Daserror.rs4 fn as_dyn_error(&self) -> &(dyn Error + 'static); in as_dyn_error()
9 fn as_dyn_error(&self) -> &(dyn Error + 'static) { in as_dyn_error()
14 impl AsDynError for dyn Error + 'static { implementation
16 fn as_dyn_error(&self) -> &(dyn Error + 'static) { in as_dyn_error()
21 impl AsDynError for dyn Error + Send + 'static { implementation
23 fn as_dyn_error(&self) -> &(dyn Error + 'static) { in as_dyn_error()
28 impl AsDynError for dyn Error + Send + Sync + 'static { implementation
30 fn as_dyn_error(&self) -> &(dyn Error + 'static) { in as_dyn_error()
/external/rust/crates/anyhow/src/
Derror.rs30 E: StdError + Send + Sync + 'static, in new()
75 M: Display + Debug + Send + Sync + 'static, in msg()
83 E: StdError + Send + Sync + 'static, in from_std()
105 M: Display + Debug + Send + Sync + 'static, in from_adhoc()
130 M: Display + Send + Sync + 'static, in from_display()
156 C: Display + Send + Sync + 'static, in from_context()
157 E: StdError + Send + Sync + 'static, in from_context()
216 E: StdError + Send + Sync + 'static, in construct()
289 C: Display + Send + Sync + 'static, in context()
387 pub fn root_cause(&self) -> &(dyn StdError + 'static) { in root_cause()
[all …]
Dcontext.rs15 C: Display + Send + Sync + 'static; in ext_context()
25 C: Display + Send + Sync + 'static, in ext_context()
35 C: Display + Send + Sync + 'static, in ext_context()
48 C: Display + Send + Sync + 'static, in context()
55 C: Display + Send + Sync + 'static, in with_context()
85 C: Display + Send + Sync + 'static, in context()
92 C: Display + Send + Sync + 'static, in with_context()
131 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
145 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
Dlib.rs267 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
602 C: Display + Send + Sync + 'static; in context()
608 C: Display + Send + Sync + 'static, in with_context()
630 M: Display + Debug + Send + Sync + 'static, in new_adhoc()
/external/rust/crates/rayon-core/src/spawn/
Dmod.rs62 F: FnOnce() + Send + 'static, in spawn()
73 F: FnOnce() + Send + 'static, in spawn_in()
86 unsafe fn spawn_job<F>(func: F, registry: &Arc<Registry>) -> JobRef in spawn_job()
137 F: FnOnce() + Send + 'static, in spawn_fifo()
148 F: FnOnce() + Send + 'static, in spawn_fifo_in()
/external/rust/crates/criterion-plot/src/
Dproxy.rs12 pub fn Font<S>(string: S) -> FontType in Font()
22 pub fn Label<S>(string: S) -> LabelType in Label()
32 pub fn Title<S>(string: S) -> TitleType in Title()
42 pub fn Output<P>(path: P) -> OutputType in Output()
/external/rust/crates/tokio/tests/support/
Dmock_pool.rs21 F: FnOnce() -> R + Send + 'static, in run()
22 R: Send + 'static, in run()
50 F: FnOnce() -> io::Result<T> + Send + 'static, in asyncify()
51 T: Send + 'static, in asyncify()
/external/rust/crates/futures-task/src/
Dspawn.rs15 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError>; in spawn_obj()
40 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError>; in spawn_local_obj()
87 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
97 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
107 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj()
117 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj()
132 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
142 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj()
152 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
162 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj()
/external/crosvm/cros_async/src/
Dexecutor.rs183 F: Future + Send + 'static, in spawn()
184 F::Output: Send + 'static, in spawn()
221 F: Future + 'static, in spawn_local()
222 F::Output: 'static, in spawn_local()
Dfd_executor.rs283 F: Future + Send + 'static, in spawn()
284 F::Output: Send + 'static, in spawn()
300 F: Future + 'static, in spawn_local()
301 F::Output: 'static, in spawn_local()
468 F: Future + Send + 'static, in spawn()
469 F::Output: Send + 'static, in spawn()
476 F: Future + 'static, in spawn_local()
477 F::Output: 'static, in spawn_local()
/external/rust/crates/async-task/src/
Drunnable.rs47 F: Future + Send + 'static, in spawn()
48 F::Output: Send + 'static, in spawn()
49 S: Fn(Runnable) + Send + Sync + 'static, in spawn()
89 F: Future + 'static, in spawn_local()
90 F::Output: 'static, in spawn_local()
91 S: Fn(Runnable) + Send + Sync + 'static, in spawn_local()
/external/rust/crates/rusqlite/src/
Dhooks.rs45 F: FnMut() -> bool + Send + 'static, in commit_hook()
56 F: FnMut() + Send + 'static, in rollback_hook()
73 F: FnMut(Action, &str, &str, i64) + Send + 'static, in update_hook()
88 F: FnMut() -> bool + Send + 'static, in commit_hook()
137 F: FnMut() + Send + 'static, in rollback_hook()
178 F: FnMut(Action, &str, &str, i64) + Send + 'static, in update_hook()
/external/crosvm/x86_64/src/
Dtest_integration.rs75 H: HypervisorX86_64 + 'static, in simple_vm_test()
76 V: VmX86_64 + 'static, in simple_vm_test()
77 Vcpu: VcpuX86_64 + 'static, in simple_vm_test()
78 I: IrqChipX86_64 + 'static, in simple_vm_test()
/external/rust/crates/rand_core/src/
Derror.rs54 E: Into<Box<dyn std::error::Error + Send + Sync + 'static>>, in new()
66 pub fn inner(&self) -> &(dyn std::error::Error + Send + Sync + 'static) { in inner()
77 pub fn take_inner(self) -> Box<dyn std::error::Error + Send + Sync + 'static> { in take_inner()
188 fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { in source()
/external/rust/crates/protobuf/src/reflect/acc/
Dv1.rs490 pub fn make_singular_enum_accessor<M: Message + 'static, E: ProtobufEnum + 'static>( in make_singular_enum_accessor()
532 pub fn make_singular_message_accessor<M: Message + 'static, F: Message + 'static>( in make_singular_message_accessor()
568 M: Message + 'static, in make_vec_accessor()
569 V: ProtobufType + 'static, in make_vec_accessor()
600 M: Message + 'static, in make_repeated_field_accessor()
601 V: ProtobufType + 'static, in make_repeated_field_accessor()
632 M: Message + 'static, in make_option_accessor()
633 V: ProtobufType + 'static, in make_option_accessor()
664 M: Message + 'static, in make_singular_field_accessor()
665 V: ProtobufType + 'static, in make_singular_field_accessor()
[all …]
/external/rust/crates/structopt/examples/
Dkeyvalue.rs10 T::Err: Error + 'static, in parse_key_val()
12 U::Err: Error + 'static, in parse_key_val()
/external/rust/crates/tokio/src/runtime/
Dhandle.rs142 pub fn spawn<F>(&self, future: F) -> JoinHandle<F::Output> in spawn()
145 F::Output: Send + 'static, in spawn()
174 F: FnOnce() -> R + Send + 'static, in spawn_blocking()
175 R: Send + 'static, in spawn_blocking()
/external/rust/crates/async-task/examples/
Dspawn-local.rs18 T: 'static, in spawn()
34 T: 'static, in run()
/external/rust/crates/rayon-core/src/
Dlib.rs410 F: FnMut(usize) -> String + 'static, in thread_name()
468 H: Fn(Box<dyn Any + Send>) + Send + Sync + 'static, in panic_handler()
536 H: Fn(usize) + Send + Sync + 'static, in start_handler()
555 H: Fn(usize) + Send + Sync + 'static, in exit_handler()
572 pub fn build(self) -> Result<ThreadPool, Box<dyn Error + 'static>> { in build()
579 F: FnMut(usize) -> String + 'static, in thread_name()
594 H: Fn(Box<dyn Any + Send>) + Send + Sync + 'static, in panic_handler()
615 H: Fn(usize) + Send + Sync + 'static, in start_handler()
624 H: Fn(usize) + Send + Sync + 'static, in exit_handler()
654 fn source(&self) -> Option<&(dyn Error + 'static)> { in source()
/external/rust/crates/log/src/kv/
Dvalue.rs125 T: fmt::Debug + 'static, in capture_debug()
135 T: fmt::Display + 'static, in capture_display()
146 T: std::error::Error + 'static, in capture_error()
157 T: self::serde::Serialize + 'static, in capture_serde()
168 T: self::sval::value::Value + 'static, in capture_sval()
293 impl ToValue for dyn std::error::Error + 'static { implementation
408 pub fn to_borrowed_error(&self) -> Option<&(dyn std::error::Error + 'static)> { in to_borrowed_error()
/external/llvm-project/libcxx/cmake/Modules/
DHandleLibCXXABI.cmake111 set(static c++abi) variable
114 set(static cxxabi_static) variable
/external/rust/crates/tokio/src/fs/
Dmod.rs108 F: FnOnce() -> io::Result<T> + Send + 'static, in asyncify()
109 T: Send + 'static, in asyncify()
/external/rust/crates/grpcio/src/
Dserver.rs185 ) -> ServiceBuilder in add_unary_handler()
188 Resp: 'static, in add_unary_handler()
189 F: FnMut(RpcContext<'_>, Req, UnarySink<Resp>) + Send + Clone + 'static, in add_unary_handler()
205 ) -> ServiceBuilder in add_client_streaming_handler()
208 Resp: 'static, in add_client_streaming_handler()
209 F: FnMut(RpcContext<'_>, RequestStream<Req>, ClientStreamingSink<Resp>) in add_client_streaming_handler()
228 ) -> ServiceBuilder in add_server_streaming_handler()
231 Resp: 'static, in add_server_streaming_handler()
232 F: FnMut(RpcContext<'_>, Req, ServerStreamingSink<Resp>) + Send + Clone + 'static, in add_server_streaming_handler()
248 ) -> ServiceBuilder in add_duplex_streaming_handler()
[all …]
/external/rust/crates/bstr/src/
Dcow.rs38 pub fn new_owned(bytes: Vec<u8>) -> CowBytes<'static> { in new_owned()
53 pub fn into_owned(self) -> CowBytes<'static> { in into_owned()
/external/rust/crates/futures-util/src/task/
Dspawn.rs76 Fut: Future + Send + 'static, in spawn_with_handle()
157 Fut: Future + 'static, in spawn_local_with_handle()

1234567