sea-streamer-stdio 0.5.0

🌊 SeaStreamer Standard I/O Backend
Documentation
1
2
3
4
5
6
7
8
9
pub struct PanicGuard;

impl Drop for PanicGuard {
    fn drop(&mut self) {
        if std::thread::panicking() {
            panic!("PanicGuard dropped while thread panicking");
        }
    }
}