Trait round_based::async_runtime::watcher::ProtocolWatcher[][src]

pub trait ProtocolWatcher<SM: StateMachine> {
    fn caught_non_critical_error(&mut self, when: When, err: SM::Err);
}
This is supported on crate feature async-runtime only.
Expand description

Looks after protocol execution in AsyncProtocol

Currently it’s only able to see caught non critical errors, API will be expanded (see #1). It will be able to track incoming messages, changing round number, etc.

Required methods

StateMachine produced a not critical error. Execution continues.

Implementors