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
2020-11-16 14:18:46 +01:00
committed by GitHub
parent 2662bcd3dd
commit f92e41925f
7 changed files with 124 additions and 1 deletions
+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.