Home
last modified time | relevance | path

Searched refs:UnwindSafe (Results 1 – 25 of 31) sorted by relevance

12

/external/rust/crates/futures-util/src/stream/stream/
Dcatch_unwind.rs6 use std::panic::{catch_unwind, UnwindSafe, AssertUnwindSafe};
19 impl<St: Stream + UnwindSafe> CatchUnwind<St> {
27 impl<St: Stream + UnwindSafe> Stream for CatchUnwind<St> {
62 impl<St: FusedStream + UnwindSafe> FusedStream for CatchUnwind<St> {
/external/rust/crates/futures-util/src/future/future/
Dcatch_unwind.rs3 use std::panic::{catch_unwind, UnwindSafe, AssertUnwindSafe};
19 impl<Fut> CatchUnwind<Fut> where Fut: Future + UnwindSafe {
26 where Fut: Future + UnwindSafe,
/external/rust/crates/once_cell/src/
Dimp_pl.rs4 panic::{RefUnwindSafe, UnwindSafe},
26 impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceCell<T> {}
27 impl<T: UnwindSafe> UnwindSafe for OnceCell<T> {}
Dimp_std.rs10 panic::{RefUnwindSafe, UnwindSafe},
34 impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceCell<T> {}
35 impl<T: UnwindSafe> UnwindSafe for OnceCell<T> {}
Dlib.rs302 use std::panic::{RefUnwindSafe, UnwindSafe};
334 impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceCell<T> {}
336 impl<T: UnwindSafe> UnwindSafe for OnceCell<T> {}
/external/rust/crates/proc-macro2/src/
Dmarker.rs2 use std::panic::{RefUnwindSafe, UnwindSafe};
17 impl UnwindSafe for ProcMacroAutoTraits {}
/external/rust/crates/regex/src/
Dpool.rs60 use std::panic::{RefUnwindSafe, UnwindSafe};
90 Box<dyn Fn() -> T + Send + Sync + UnwindSafe + RefUnwindSafe + 'static>;
281 use std::panic::{RefUnwindSafe, UnwindSafe};
289 fn has_oibits<T: Send + Sync + UnwindSafe + RefUnwindSafe>() {} in oibits()
/external/rust/crates/rusqlite/src/
Dfunctions.rs59 use std::panic::{catch_unwind, RefUnwindSafe, UnwindSafe};
233 A: RefUnwindSafe + UnwindSafe,
258 A: RefUnwindSafe + UnwindSafe,
345 F: FnMut(&Context<'_>) -> Result<T> + Send + UnwindSafe + 'static, in create_scalar_function()
367 A: RefUnwindSafe + UnwindSafe, in create_aggregate_function() argument
390 A: RefUnwindSafe + UnwindSafe, in create_window_function() argument
422 F: FnMut(&Context<'_>) -> Result<T> + Send + UnwindSafe + 'static, in create_scalar_function()
484 A: RefUnwindSafe + UnwindSafe, in create_aggregate_function() argument
515 A: RefUnwindSafe + UnwindSafe, in create_window_function() argument
570 A: RefUnwindSafe + UnwindSafe, in call_boxed_step() argument
[all …]
Dcollation.rs4 use std::panic::{catch_unwind, UnwindSafe};
20 C: Fn(&str, &str) -> Ordering + Send + UnwindSafe + 'static, in create_collation()
44 C: Fn(&str, &str) -> Ordering + Send + UnwindSafe + 'static, in create_collation()
/external/rust/crates/thread_local/src/
Dcached.rs5 use std::panic::UnwindSafe;
117 impl<T: Send + UnwindSafe> UnwindSafe for CachedThreadLocal<T> {}
Dlib.rs81 use std::panic::UnwindSafe;
358 impl<T: Send + UnwindSafe> UnwindSafe for ThreadLocal<T> {}
/external/rust/crates/bindgen/src/
Dcallbacks.rs8 use std::panic::UnwindSafe;
28 pub trait ParseCallbacks: fmt::Debug + UnwindSafe {
/external/rust/crates/rayon/tests/
Diter_panic.rs4 use std::panic::{self, UnwindSafe};
29 fn count(iter: impl ParallelIterator + UnwindSafe) -> usize { in iter_panic_fuse()
/external/rust/crates/bstr/src/
Dlib.rs436 use std::panic::{RefUnwindSafe, UnwindSafe}; in oibits()
440 fn assert_unwind_safe<T: RefUnwindSafe + UnwindSafe>() {} in oibits() argument
/external/rust/crates/proc-macro2/tests/
Dmarker.rs64 use std::panic::{RefUnwindSafe, UnwindSafe};
69 assert_impl!($types is UnwindSafe and RefUnwindSafe);
/external/rust/crates/ahash/src/
Dhash_map.rs7 use std::panic::UnwindSafe;
206 impl<K, V, S> UnwindSafe for AHashMap<K, V, S>
208 K: UnwindSafe,
209 V: UnwindSafe,
/external/rust/crates/regex/tests/
Dtest_default.rs87 use std::panic::{RefUnwindSafe, UnwindSafe}; in oibits()
91 fn assert_unwind_safe<T: UnwindSafe>() {} in oibits() argument
/external/rust/crates/proc-macro-error/src/
Dlib.rs290 use std::panic::{catch_unwind, resume_unwind, UnwindSafe};
429 F: FnOnce() -> proc_macro::TokenStream + UnwindSafe, in entry_point() argument
/external/rust/crates/crossbeam-utils/src/sync/
Dsharded_lock.rs7 use std::panic::{RefUnwindSafe, UnwindSafe};
87 impl<T: ?Sized> UnwindSafe for ShardedLock<T> {}
/external/rust/crates/async-task/src/
Drunnable.rs242 impl std::panic::UnwindSafe for Runnable {}
Dtask.rs61 impl<T> std::panic::UnwindSafe for Task<T> {}
/external/rust/crates/crossbeam-utils/
DCHANGELOG.md46 - Add `UnwindSafe` and `RefUnwindSafe` impls for `AtomicCell`.
/external/rust/crates/aho-corasick/src/
Dprefilter.rs3 use std::panic::{RefUnwindSafe, UnwindSafe};
51 Send + Sync + RefUnwindSafe + UnwindSafe + fmt::Debug
/external/rust/crates/crossbeam-channel/src/
Dchannel.rs6 use std::panic::{RefUnwindSafe, UnwindSafe};
365 impl<T> UnwindSafe for Sender<T> {}
721 impl<T> UnwindSafe for Receiver<T> {}
/external/rust/crates/crossbeam-utils/src/atomic/
Datomic_cell.rs15 use std::panic::{RefUnwindSafe, UnwindSafe};
48 impl<T> UnwindSafe for AtomicCell<T> {}

12