Home
last modified time | relevance | path

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

123456789

/external/rust/crates/anyhow/src/
Derror.rs31 E: StdError + Send + Sync + 'static, in new()
77 M: Display + Debug + Send + Sync + 'static, in msg()
86 E: StdError + Send + Sync + 'static, in from_std()
109 M: Display + Debug + Send + Sync + 'static, in from_adhoc()
135 M: Display + Send + Sync + 'static, in from_display()
162 C: Display + Send + Sync + 'static, in from_context()
163 E: StdError + Send + Sync + 'static, in from_context()
224 E: StdError + Send + Sync + 'static, in construct()
298 C: Display + Send + Sync + 'static, in context()
397 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.rs268 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
603 C: Display + Send + Sync + 'static; in context()
609 C: Display + Send + Sync + 'static, in with_context()
632 M: Display + Debug + Send + Sync + 'static, in new_adhoc()
/external/rust/crates/tokio/src/task/
Dbuilder.rs69 pub fn spawn<Fut>(self, future: Fut) -> JoinHandle<Fut::Output> in spawn()
72 Fut::Output: Send + 'static, in spawn()
82 pub fn spawn_local<Fut>(self, future: Fut) -> JoinHandle<Fut::Output> in spawn_local()
85 Fut::Output: 'static, in spawn_local()
97 Function: FnOnce() -> Output + Send + 'static, in spawn_blocking()
98 Output: Send + 'static, in spawn_blocking()
/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/tokio/src/runtime/tests/
Dmod.rs10 T: std::future::Future + Send + 'static, in unowned()
11 T::Output: Send + 'static, in unowned()
23 T: std::future::Future + Send + 'static, in unowned()
24 T::Output: Send + 'static, in unowned()
/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/crosvm/cros_async/src/
Dexecutor.rs182 F: Future + Send + 'static, in spawn()
183 F::Output: Send + 'static, in spawn()
220 F: Future + 'static, in spawn_local()
221 F::Output: 'static, in spawn_local()
260 F: FnOnce() -> R + Send + 'static, in spawn_blocking()
261 R: Send + 'static, in spawn_blocking()
Dfd_executor.rs311 F: Future + Send + 'static, in spawn()
312 F::Output: Send + 'static, in spawn()
328 F: Future + 'static, in spawn_local()
329 F::Output: 'static, in spawn_local()
345 F: FnOnce() -> R + Send + 'static, in spawn_blocking()
346 R: Send + 'static, in spawn_blocking()
504 F: Future + Send + 'static, in spawn()
505 F::Output: Send + 'static, in spawn()
512 F: Future + 'static, in spawn_local()
513 F::Output: 'static, in spawn_local()
[all …]
/external/crosvm/common/cros_async/src/
Dexecutor.rs182 F: Future + Send + 'static, in spawn()
183 F::Output: Send + 'static, in spawn()
220 F: Future + 'static, in spawn_local()
221 F::Output: 'static, in spawn_local()
260 F: FnOnce() -> R + Send + 'static, in spawn_blocking()
261 R: Send + 'static, in spawn_blocking()
Dfd_executor.rs311 F: Future + Send + 'static, in spawn()
312 F::Output: Send + 'static, in spawn()
328 F: Future + 'static, in spawn_local()
329 F::Output: 'static, in spawn_local()
345 F: FnOnce() -> R + Send + 'static, in spawn_blocking()
346 R: Send + 'static, in spawn_blocking()
504 F: Future + Send + 'static, in spawn()
505 F::Output: Send + 'static, in spawn()
512 F: Future + 'static, in spawn_local()
513 F::Output: 'static, in spawn_local()
[all …]
/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()
[all …]
/external/rust/crates/tokio/src/runtime/
Dhandle.rs161 pub fn spawn<F>(&self, future: F) -> JoinHandle<F::Output> in spawn()
164 F::Output: Send + 'static, in spawn()
193 F: FnOnce() -> R + Send + 'static, in spawn_blocking()
194 R: Send + 'static, in spawn_blocking()
206 F: FnOnce() -> R + Send + 'static, in spawn_blocking_inner()
207 R: Send + 'static, in spawn_blocking_inner()
Dspawner.rs27 pub(crate) fn spawn<F>(&self, future: F) -> JoinHandle<F::Output> in spawn()
30 F::Output: Send + 'static, in spawn()
Dbuilder.rs302 F: Fn() -> String + Send + Sync + 'static, in thread_name_fn()
353 F: Fn() + Send + Sync + 'static, in on_thread_start()
379 F: Fn() + Send + Sync + 'static, in on_thread_stop()
457 F: Fn() + Send + Sync + 'static, in on_thread_park()
493 F: Fn() + Send + Sync + 'static, in on_thread_unpark()
/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.rs350 F: FnMut() -> bool + Send + 'static, in commit_hook()
360 F: FnMut() + Send + 'static, in rollback_hook()
378 F: FnMut(Action, &str, &str, i64) + Send + 'static, in update_hook()
393 F: FnMut() -> bool + Send + RefUnwindSafe + 'static, in progress_handler()
403 F: for<'r> FnMut(AuthContext<'r>) -> Authorization + Send + RefUnwindSafe + 'static, in authorizer()
421 F: FnMut() -> bool + Send + 'static, in commit_hook()
470 F: FnMut() + Send + 'static, in rollback_hook()
511 F: FnMut(Action, &str, &str, i64) + Send + 'static, in update_hook()
563 F: FnMut() -> bool + Send + RefUnwindSafe + 'static, in progress_handler()
599 F: for<'r> FnMut(AuthContext<'r>) -> Authorization + Send + RefUnwindSafe + 'static, in authorizer()
[all …]
/external/rust/crates/vulkano/src/command_buffer/synced/
Dcommands.rs114 F: FramebufferAbstract + Send + Sync + 'static, in begin_render_pass()
144 fn image_name(&self, num: usize) -> Cow<'static, str> { in begin_render_pass()
217 B: BufferAccess + Send + Sync + 'static, in bind_index_buffer()
251 Cp: ComputePipelineAbstract + Send + Sync + 'static, in bind_pipeline_compute()
282 Gp: GraphicsPipelineAbstract + Send + Sync + 'static, in bind_pipeline_graphics()
334 S: ImageAccess + Send + Sync + 'static, in copy_image()
335 D: ImageAccess + Send + Sync + 'static, in copy_image()
376 fn image_name(&self, num: usize) -> Cow<'static, str> { in copy_image()
455 S: ImageAccess + Send + Sync + 'static, in blit_image()
456 D: ImageAccess + Send + Sync + 'static, in blit_image()
[all …]
/external/rust/crates/protobuf/src/reflect/acc/
Dv1.rs506 pub fn make_singular_enum_accessor<M: Message + 'static, E: ProtobufEnum + 'static>( in make_singular_enum_accessor()
548 pub fn make_singular_message_accessor<M: Message + 'static, F: Message + 'static>( in make_singular_message_accessor()
584 M: Message + 'static, in make_vec_accessor()
585 V: ProtobufType + 'static, in make_vec_accessor()
616 M: Message + 'static, in make_repeated_field_accessor()
617 V: ProtobufType + 'static, in make_repeated_field_accessor()
648 M: Message + 'static, in make_option_accessor()
649 V: ProtobufType + 'static, in make_option_accessor()
680 M: Message + 'static, in make_singular_field_accessor()
681 V: ProtobufType + 'static, in make_singular_field_accessor()
[all …]
/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/rayon-core/src/
Dlib.rs434 F: FnMut(usize) -> String + 'static, in thread_name()
492 H: Fn(Box<dyn Any + Send>) + Send + Sync + 'static, in panic_handler()
560 H: Fn(usize) + Send + Sync + 'static, in start_handler()
579 H: Fn(usize) + Send + Sync + 'static, in exit_handler()
596 pub fn build(self) -> Result<ThreadPool, Box<dyn Error + 'static>> { in build()
603 F: FnMut(usize) -> String + 'static, in thread_name()
618 H: Fn(Box<dyn Any + Send>) + Send + Sync + 'static, in panic_handler()
639 H: Fn(usize) + Send + Sync + 'static, in start_handler()
648 H: Fn(usize) + Send + Sync + 'static, in exit_handler()
678 fn source(&self) -> Option<&(dyn Error + 'static)> { in source()
/external/crosvm/x86_64/src/
Dtest_integration.rs79 H: HypervisorX86_64 + 'static, in simple_vm_test()
80 V: VmX86_64 + 'static, in simple_vm_test()
81 Vcpu: VcpuX86_64 + 'static, in simple_vm_test()
82 I: IrqChipX86_64 + 'static, in simple_vm_test()
/external/rust/crates/structopt/examples/
Dkeyvalue.rs25 T::Err: Error + 'static, in parse_key_val()
27 U::Err: Error + 'static, in parse_key_val()
/external/rust/crates/async-task/examples/
Dspawn-local.rs18 T: 'static, in spawn()
34 T: 'static, in run()
/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()

123456789