Searched refs:panic_handler (Results 1 – 5 of 5) sorted by relevance
126 panic_handler: Option<Box<PanicHandler>>, field176 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() method470 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() method596 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 …]
91 let panic_handler = move |_| { in handler_panics_handled_correctly() localVariable104 .panic_handler(panic_handler); in handler_panics_handled_correctly()143 let panic_handler = move |_| {}; in configuration() localVariable150 .panic_handler(panic_handler) in configuration()
139 panic_handler: Option<Box<PanicHandler>>, field244 panic_handler: builder.take_panic_handler(), in new()327 match self.panic_handler { in handle_panic()
30 let panic_handler = move |err: Box<dyn Any + Send>| { in panic_fwd() localVariable43 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() localVariable95 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() localVariable123 let builder = ThreadPoolBuilder::new().panic_handler(panic_handler); in custom_panic_handler_and_nested_spawn()
1176 - `tokio::runtime::Builder::panic_handler` allows configuring handling