mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-08 03:41:07 +00:00
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:
1 parent
2662bcd3dd
commit
f92e41925f
7 files changed
+124
-1
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user