pub trait PrepareStateEffect: 'static {
// Required method
fn take_state(self, states: &mut StateCollector);
}
Expand description
Prepare for Global State
for instance the Connection Pool of Database
pub trait PrepareStateEffect: 'static {
// Required method
fn take_state(self, states: &mut StateCollector);
}
Prepare for Global State
for instance the Connection Pool of Database