Home
last modified time | relevance | path

Searched refs:panic_handler (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/rayon-core/src/
Dlib.rs126 panic_handler: Option<Box<PanicHandler>>, field
176 panic_handler: None, in default()
360 panic_handler: self.panic_handler, in spawn_handler()
449 self.panic_handler.take() in take_panic_handler()
466 pub fn panic_handler<H>(mut self, panic_handler: H) -> Self in panic_handler() method
470 self.panic_handler = Some(Box::new(panic_handler)); in panic_handler()
592 pub fn panic_handler<H>(mut self, panic_handler: H) -> Configuration in panic_handler() method
596 self.builder = self.builder.panic_handler(panic_handler); in panic_handler()
683 ref panic_handler, in fmt()
700 let panic_handler = panic_handler.as_ref().map(|_| ClosurePlaceholder); in fmt() localVariable
[all …]
Dtest.rs91 let panic_handler = move |_| { in handler_panics_handled_correctly() localVariable
104 .panic_handler(panic_handler); in handler_panics_handled_correctly()
143 let panic_handler = move |_| {}; in configuration() localVariable
150 .panic_handler(panic_handler) in configuration()
Dregistry.rs139 panic_handler: Option<Box<PanicHandler>>, field
244 panic_handler: builder.take_panic_handler(), in new()
327 match self.panic_handler { in handle_panic()
/external/rust/crates/rayon-core/src/spawn/
Dtest.rs30 let panic_handler = move |err: Box<dyn Any + Send>| { in panic_fwd() localVariable
43 let builder = ThreadPoolBuilder::new().panic_handler(panic_handler); in panic_fwd()
90 let panic_handler = move |e: Box<dyn Any + Send>| { in custom_panic_handler_and_spawn() localVariable
95 let builder = ThreadPoolBuilder::new().panic_handler(panic_handler); in custom_panic_handler_and_spawn()
117 let panic_handler = move |e| { in custom_panic_handler_and_nested_spawn() localVariable
123 let builder = ThreadPoolBuilder::new().panic_handler(panic_handler); in custom_panic_handler_and_nested_spawn()
/external/rust/crates/tokio/
DCHANGELOG.md1176 - `tokio::runtime::Builder::panic_handler` allows configuring handling