Home
last modified time | relevance | path

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

12345678910>>...26

/external/rust/android-crates-io/crates/tokio/src/task/
Dbuilder.rs87 pub fn spawn<Fut>(self, future: Fut) -> io::Result<JoinHandle<Fut::Output>> in spawn()
90 Fut::Output: Send + 'static, in spawn()
108 pub fn spawn_on<Fut>(self, future: Fut, handle: &Handle) -> io::Result<JoinHandle<Fut::Output>> in spawn_on()
111 Fut::Output: Send + 'static, in spawn_on()
136 pub fn spawn_local<Fut>(self, future: Fut) -> io::Result<JoinHandle<Fut::Output>> in spawn_local()
139 Fut::Output: 'static, in spawn_local()
161 ) -> io::Result<JoinHandle<Fut::Output>> in spawn_local_on()
164 Fut::Output: 'static, in spawn_local_on()
188 Function: FnOnce() -> Output + Send + 'static, in spawn_blocking()
189 Output: Send + 'static, in spawn_blocking()
[all …]
/external/rust/android-crates-io/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/android-crates-io/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 …]
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/anyhow-1.0.93/src/
Derror.rs36 E: StdError + Send + Sync + 'static, in new()
83 M: Display + Debug + Send + Sync + 'static, in msg()
92 E: StdError + Send + Sync + 'static, in from_std()
118 M: Display + Debug + Send + Sync + 'static, in from_adhoc()
147 M: Display + Send + Sync + 'static, in from_display()
177 C: Display + Send + Sync + 'static, in from_context()
178 E: StdError + Send + Sync + 'static, in from_context()
245 E: StdError + Send + Sync + 'static, in construct()
320 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/cronet/stable/third_party/rust/chromium_crates_io/vendor/anyhow-1.0.93/src/
Derror.rs36 E: StdError + Send + Sync + 'static, in new()
83 M: Display + Debug + Send + Sync + 'static, in msg()
92 E: StdError + Send + Sync + 'static, in from_std()
118 M: Display + Debug + Send + Sync + 'static, in from_adhoc()
147 M: Display + Send + Sync + 'static, in from_display()
177 C: Display + Send + Sync + 'static, in from_context()
178 E: StdError + Send + Sync + 'static, in from_context()
245 E: StdError + Send + Sync + 'static, in construct()
320 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/android-crates-io/crates/anyhow/src/
Derror.rs36 E: StdError + Send + Sync + 'static, in new()
83 M: Display + Debug + Send + Sync + 'static, in msg()
153 E: StdError + Send + Sync + 'static, in construct_from_std()
179 M: Display + Debug + Send + Sync + 'static, in construct_from_adhoc()
208 M: Display + Send + Sync + 'static, in construct_from_display()
242 C: Display + Send + Sync + 'static, in construct_from_context()
243 E: StdError + Send + Sync + 'static, in construct_from_context()
310 E: StdError + Send + Sync + 'static, in construct()
385 C: Display + Send + Sync + 'static, in context()
482 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/android-crates-io/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/android-crates-io/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/android-crates-io/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.rs219 F: Future + Send + 'static, in spawn()
220 F::Output: Send + 'static; in spawn()
224 F: FnOnce() -> R + Send + 'static, in spawn_blocking()
225 R: Send + 'static; in spawn_blocking()
227 fn spawn_local<F>(&self, f: F) -> TaskHandle<F::Output> in spawn_local()
230 F::Output: 'static; in spawn_local()
464 F: Future + Send + 'static, in spawn()
465 F::Output: Send + 'static, in spawn()
508 pub fn spawn_local<F>(&self, f: F) -> TaskHandle<F::Output> in spawn_local()
511 F::Output: 'static, in spawn_local()
[all …]
/external/rust/android-crates-io/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/android-crates-io/crates/tokio/src/runtime/tests/
Dmod.rs38 T: std::future::Future + Send + 'static, in unowned()
39 T::Output: Send + 'static, in unowned()
51 T: std::future::Future + Send + 'static, in unowned()
52 T::Output: Send + 'static, in unowned()
/external/rust/android-crates-io/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/android-crates-io/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/android-crates-io/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/android-crates-io/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/android-crates-io/crates/tokio/src/runtime/
Dhandle.rs188 pub fn spawn<F>(&self, future: F) -> JoinHandle<F::Output> in spawn()
191 F::Output: Send + 'static, in spawn()
223 F: FnOnce() -> R + Send + 'static, in spawn_blocking()
224 R: Send + 'static, in spawn_blocking()
332 pub(crate) fn spawn_named<F>(&self, future: F, _meta: SpawnMeta<'_>) -> JoinHandle<F::Output> in spawn_named()
335 F::Output: Send + 'static, in spawn_named()
357 ) -> JoinHandle<F::Output> in spawn_local_named()
360 F::Output: 'static, in spawn_local_named()
/external/rust/android-crates-io/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()

12345678910>>...26