bastion 0.2.0

Fault-tolerant Runtime for Rust applications
Documentation
1
2
3
4
5
6
7
8
9
10
use std::any::Any;

pub(crate) trait RuntimeManager {
    fn unstable_shutdown();
    fn runtime_shutdown_callback();
}

pub(crate) trait FaultRecovery {
    fn panic_dispatcher(failure: Box<dyn Any + Send>);
}