mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
Derive From for AllMessages and simplify send_msg (#1774)
This commit is contained in:
@@ -519,7 +519,7 @@ impl CollationGenerationMessage {
|
||||
}
|
||||
|
||||
/// A message type tying together all message types that are used across Subsystems.
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, derive_more::From)]
|
||||
pub enum AllMessages {
|
||||
/// Message for the validation subsystem.
|
||||
CandidateValidation(CandidateValidationMessage),
|
||||
|
||||
Reference in New Issue
Block a user