Content-Length: 6002 | pFad | https://doc.rust-lang.org/std/pin/../cmp/../sync/mpsc/../../../std/panic/fn.panic_any.html

panic_any in std::panic - Rust

panic_any

Function panic_any 

1.51.0 ยท Source
pub fn panic_any<M: 'static + Any + Send>(msg: M) -> !
Expand description

Panics the current thread with the given message as the panic payload.

The message can be of any (Any + Send) type, not just strings.

The message is wrapped in a Box<'static + Any + Send>, which can be accessed later using PanicHookInfo::payload.

See the panic! macro for more information about panicking.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://doc.rust-lang.org/std/pin/../cmp/../sync/mpsc/../../../std/panic/fn.panic_any.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy