Home
last modified time | relevance | path

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

12345678910>>...17

/external/rust/crates/tokio/src/task/
Dbuilder.rs86 pub fn spawn<Fut>(self, future: Fut) -> io::Result<JoinHandle<Fut::Output>> in spawn()
89 Fut::Output: Send + 'static, in spawn()
102 pub fn spawn_on<Fut>(self, future: Fut, handle: &Handle) -> io::Result<JoinHandle<Fut::Output>> in spawn_on()
105 Fut::Output: Send + 'static, in spawn_on()
125 pub fn spawn_local<Fut>(self, future: Fut) -> io::Result<JoinHandle<Fut::Output>> in spawn_local()
128 Fut::Output: 'static, in spawn_local()
145 ) -> io::Result<JoinHandle<Fut::Output>> in spawn_local_on()
148 Fut::Output: 'static, in spawn_local_on()
167 Function: FnOnce() -> Output + Send + 'static, in spawn_blocking()
168 Output: Send + 'static, in spawn_blocking()
[all …]
Djoin_set.rs136 F: Send + 'static, in spawn()
155 F: Send + 'static, in spawn_on()
179 F: 'static, in spawn_local()
199 F: 'static, in spawn_local_on()
244 F: Send + 'static, in spawn_blocking()
259 F: Send + 'static, in spawn_blocking_on()
504 F: Send + 'static, in spawn()
524 F: Send + 'static, in spawn_on()
547 F: 'static, in spawn_local()
565 F: 'static, in spawn_local_on()
/external/rust/crates/axum/src/routing/
Dmod.rs133 T::Future: Send + 'static, in route_service()
177 T::Future: Send + 'static, in nest_service()
235 L: Layer<Route<B>> + Clone + Send + 'static, in layer()
236 L::Service: Service<Request<NewReqBody>> + Clone + Send + 'static, in layer()
237 <L::Service as Service<Request<NewReqBody>>>::Response: IntoResponse + 'static, in layer()
238 <L::Service as Service<Request<NewReqBody>>>::Error: Into<Infallible> + 'static, in layer()
239 <L::Service as Service<Request<NewReqBody>>>::Future: Send + 'static, in layer()
240 NewReqBody: HttpBody + 'static, in layer()
254 L: Layer<Route<B>> + Clone + Send + 'static, in route_layer()
255 L::Service: Service<Request<B>> + Clone + Send + 'static, in route_layer()
[all …]
Dmethod_routing.rs327 T: Service<Request<B>> + Clone + Send + 'static, in on_service()
328 T::Response: IntoResponse + 'static, in on_service()
329 T::Future: Send + 'static, in on_service()
330 B: HttpBody + Send + 'static, in on_service()
391 T: Service<Request<B>> + Clone + Send + 'static, in any_service()
392 T::Response: IntoResponse + 'static, in any_service()
393 T::Future: Send + 'static, in any_service()
394 B: HttpBody + Send + 'static, in any_service()
433 B: HttpBody + Send + 'static, in on()
434 T: 'static, in on()
[all …]
Dpath_router.rs46 ) -> Result<(), Cow<'static, str>> { in route()
90 ) -> Result<(), Cow<'static, str>> in route_service()
94 T::Future: Send + 'static, in route_service()
103 ) -> Result<(), Cow<'static, str>> { in route_endpoint()
130 ) -> Result<(), Cow<'static, str>> { in merge()
171 ) -> Result<(), Cow<'static, str>> { in nest()
201 pub(super) fn nest_service<T>(&mut self, path: &str, svc: T) -> Result<(), Cow<'static, str>> in nest_service()
205 T::Future: Send + 'static, in nest_service()
234 L: Layer<Route<B>> + Clone + Send + 'static, in layer()
235 L::Service: Service<Request<NewReqBody>> + Clone + Send + 'static, in layer()
[all …]
Droute.rs36 T::Response: IntoResponse + 'static, in new()
37 T::Future: Send + 'static, in new()
53 L: Layer<Route<B, E>> + Clone + Send + 'static, in layer()
54 L::Service: Service<Request<NewReqBody>> + Clone + Send + 'static, in layer()
55 <L::Service as Service<Request<NewReqBody>>>::Response: IntoResponse + 'static, in layer()
56 <L::Service as Service<Request<NewReqBody>>>::Error: Into<NewError> + 'static, in layer()
57 <L::Service as Service<Request<NewReqBody>>>::Future: Send + 'static, in layer()
58 NewReqBody: 'static, in layer()
59 NewError: 'static, in layer()
/external/rust/crates/anyhow/src/
Derror.rs34 E: StdError + Send + Sync + 'static, in new()
81 M: Display + Debug + Send + Sync + 'static, in msg()
90 E: StdError + Send + Sync + 'static, in from_std()
116 M: Display + Debug + Send + Sync + 'static, in from_adhoc()
145 M: Display + Send + Sync + 'static, in from_display()
175 C: Display + Send + Sync + 'static, in from_context()
176 E: StdError + Send + Sync + 'static, in from_context()
243 E: StdError + Send + Sync + 'static, in construct()
318 C: Display + Send + Sync + 'static, in context()
416 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()
60 C: Display + Send + Sync + 'static, in with_context()
93 C: Display + Send + Sync + 'static, in context()
105 C: Display + Send + Sync + 'static, in with_context()
142 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
156 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
/external/rust/crates/miette/src/eyreish/
Derror.rs26 E: Diagnostic + Send + Sync + 'static, in new()
71 M: Display + Debug + Send + Sync + 'static, in msg()
91 E: Diagnostic + Send + Sync + 'static, in from_std()
112 M: Display + Debug + Send + Sync + 'static, in from_adhoc()
136 D: Display + Send + Sync + 'static, in from_msg()
137 E: Diagnostic + Send + Sync + 'static, in from_msg()
189 E: Diagnostic + Send + Sync + 'static, in construct()
217 D: Display + Send + Sync + 'static, in wrap_err()
239 D: Display + Send + Sync + 'static, in context()
274 pub fn root_cause(&self) -> &(dyn StdError + 'static) { in root_cause()
[all …]
Dmod.rs105 fn get_default_printer(_err: &(dyn Diagnostic + 'static)) -> Box<dyn ReportHandler + 'static> { in get_default_printer()
185 error: &(dyn StdError + 'static), in display()
201 fn track_caller(&mut self, location: &'static std::panic::Location<'static>) {} in track_caller()
439 D: Display + Send + Sync + 'static; in wrap_err()
446 D: Display + Send + Sync + 'static, in wrap_err_with()
453 D: Display + Send + Sync + 'static; in context()
459 D: Display + Send + Sync + 'static, in with_context()
481 M: Display + Debug + Send + Sync + 'static, in new_adhoc()
Dcontext.rs16 D: Display + Send + Sync + 'static; in ext_report()
25 D: Display + Send + Sync + 'static, in ext_report()
34 D: Display + Send + Sync + 'static, in ext_report()
47 D: Display + Send + Sync + 'static, in wrap_err()
57 D: Display + Send + Sync + 'static, in wrap_err_with()
68 D: Display + Send + Sync + 'static, in context()
75 D: Display + Send + Sync + 'static, in with_context()
109 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
118 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
/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()
132 F: FnOnce() + Send + 'static, in spawn_fifo()
143 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/axum-core/src/ext_traits/
Drequest.rs71 fn extract<E, M>(self) -> BoxFuture<'static, Result<E, E::Rejection>> in extract()
73 E: FromRequest<(), B, M> + 'static, in extract()
74 M: 'static; in extract()
132 E: FromRequest<S, B, M> + 'static, in extract_with_state()
186 E: FromRequestParts<()> + 'static; in extract_parts()
257 E: FromRequestParts<S> + 'static, in extract_parts_with_state()
275 fn extract<E, M>(self) -> BoxFuture<'static, Result<E, E::Rejection>> in extract()
277 E: FromRequest<(), B, M> + 'static, in extract()
278 M: 'static, in extract()
285 E: FromRequest<S, B, M> + 'static, in extract_with_state()
[all …]
/external/crosvm/cros_async/src/
Dexecutor.rs220 F: Future + Send + 'static, in spawn()
221 F::Output: Send + 'static; in spawn()
225 F: FnOnce() -> R + Send + 'static, in spawn_blocking()
226 R: Send + 'static; in spawn_blocking()
228 fn spawn_local<F>(&self, f: F) -> TaskHandle<F::Output> in spawn_local()
231 F::Output: 'static; in spawn_local()
465 F: Future + Send + 'static, in spawn()
466 F::Output: Send + 'static, in spawn()
509 pub fn spawn_local<F>(&self, f: F) -> TaskHandle<F::Output> in spawn_local()
512 F::Output: 'static, in spawn_local()
[all …]
/external/rust/crates/tonic/src/client/
Dgrpc.rs213 T::ResponseBody: Body + Send + 'static, in unary()
216 M1: Send + Sync + 'static, in unary()
217 M2: Send + Sync + 'static, in unary()
232 T::ResponseBody: Body + Send + 'static, in client_streaming()
236 M1: Send + Sync + 'static, in client_streaming()
237 M2: Send + Sync + 'static, in client_streaming()
269 T::ResponseBody: Body + Send + 'static, in server_streaming()
272 M1: Send + Sync + 'static, in server_streaming()
273 M2: Send + Sync + 'static, in server_streaming()
288 T::ResponseBody: Body + Send + 'static, in streaming()
[all …]
/external/rust/crates/tokio/src/runtime/tests/
Dmod.rs32 T: std::future::Future + Send + 'static, in unowned()
33 T::Output: Send + 'static, in unowned()
45 T: std::future::Future + Send + 'static, in unowned()
46 T::Output: Send + 'static, in unowned()
/external/rust/crates/tracing/src/
Dsubscriber.rs22 S: Subscriber + Send + Sync + 'static, in with_default()
41 S: Subscriber + Send + Sync + 'static, in set_global_default()
60 S: Subscriber + Send + Sync + 'static, in set_default()
/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-util/src/task/
Dspawn_pinned.rs123 F: Send + 'static, in spawn_pinned()
124 Fut: Future + 'static, in spawn_pinned()
125 Fut::Output: Send + 'static, in spawn_pinned()
176 F: Send + 'static, in spawn_pinned_by_idx()
177 Fut: Future + 'static, in spawn_pinned_by_idx()
178 Fut::Output: Send + 'static, in spawn_pinned_by_idx()
210 F: Send + 'static, in spawn_pinned()
211 Fut: Future + 'static, in spawn_pinned()
212 Fut::Output: Send + 'static, in spawn_pinned()
Dtask_tracker.rs376 pub fn spawn<F>(&self, task: F) -> JoinHandle<F::Output> in spawn()
379 F::Output: Send + 'static, in spawn()
391 pub fn spawn_on<F>(&self, task: F, handle: &Handle) -> JoinHandle<F::Output> in spawn_on()
394 F::Output: Send + 'static, in spawn_on()
408 pub fn spawn_local<F>(&self, task: F) -> JoinHandle<F::Output> in spawn_local()
411 F::Output: 'static, in spawn_local()
425 pub fn spawn_local_on<F>(&self, task: F, local_set: &LocalSet) -> JoinHandle<F::Output> in spawn_local_on()
428 F::Output: 'static, in spawn_local_on()
444 F: Send + 'static, in spawn_blocking()
445 T: Send + 'static, in spawn_blocking()
[all …]
/external/rust/crates/tonic/src/transport/service/
Dconnection.rs34 C: Service<Uri> + Send + 'static, in new()
37 C::Response: AsyncRead + AsyncWrite + HyperConnection + Unpin + Send + 'static, in new()
83 C: Service<Uri> + Send + 'static, in connect()
86 C::Response: AsyncRead + AsyncWrite + HyperConnection + Unpin + Send + 'static, in connect()
93 C: Service<Uri> + Send + 'static, in lazy()
96 C::Response: AsyncRead + AsyncWrite + HyperConnection + Unpin + Send + 'static, in lazy()
/external/rust/crates/tracing-core/src/
Devent.rs32 pub fn dispatch(metadata: &'static Metadata<'static>, fields: &'a field::ValueSet<'_>) { in dispatch()
42 pub fn new(metadata: &'static Metadata<'static>, fields: &'a field::ValueSet<'a>) -> Self { in new()
55 metadata: &'static Metadata<'static>, in new_child_of()
73 metadata: &'static Metadata<'static>, in child_of()
98 pub fn metadata(&self) -> &'static Metadata<'static> { in metadata()
/external/rust/crates/tokio/src/runtime/scheduler/multi_thread/
Dhandle.rs39 F: crate::future::Future + Send + 'static, in spawn()
40 F::Output: Send + 'static, in spawn()
49 pub(super) fn bind_new_task<T>(me: &Arc<Self>, future: T, id: task::Id) -> JoinHandle<T::Output> in bind_new_task()
52 T::Output: Send + 'static, in bind_new_task()
/external/rust/crates/tokio/src/runtime/scheduler/multi_thread_alt/
Dhandle.rs35 F: crate::future::Future + Send + 'static, in spawn()
36 F::Output: Send + 'static, in spawn()
46 pub(super) fn bind_new_task<T>(me: &Arc<Self>, future: T, id: task::Id) -> JoinHandle<T::Output> in bind_new_task()
49 T::Output: Send + 'static, in bind_new_task()

12345678910>>...17