Trait exonum::messages::ServiceMessage
[−]
[src]
pub trait ServiceMessage: Message { const SERVICE_ID: u16; const MESSAGE_ID: u16; }
A Message
which belongs to a particular service.
Associated Constants
const SERVICE_ID: u16
ID of the service this message belongs to.
const MESSAGE_ID: u16
ID of the message itself. Should be unique within a service.
Implementors
impl ServiceMessage for Connect
impl ServiceMessage for Status
impl ServiceMessage for Propose
impl ServiceMessage for Prevote
impl ServiceMessage for Precommit
impl ServiceMessage for BlockResponse
impl ServiceMessage for ProposeRequest
impl ServiceMessage for TransactionsRequest
impl ServiceMessage for PrevotesRequest
impl ServiceMessage for PeersRequest
impl ServiceMessage for BlockRequest