Resurrect (a minimal version of) message-broker (#234)

This is mostly a copy of the predating version with exception of some
renaming and alterations (e.g. the message handler takes an inbound
downward message by value, not by reference).
This commit is contained in:
Sergei Shulepov authored and GitHub committed 2020-11-16 14:18:46 +01:00
1 parent 2662bcd3dd
commit f92e41925f
7 files changed
+124 -1

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ pub mod well_known_keys {
#[impl_trait_for_tuples::impl_for_tuples(30)]
pub trait DownwardMessageHandler {
/// Handle the given downward message.
fn handle_downward_message(msg: &InboundDownwardMessage);
fn handle_downward_message(msg: InboundDownwardMessage);
}
/// A trait which is called when the validation data is set.