Trait trezor_client::TrezorMessage
source · pub trait TrezorMessage: Message {
fn message_type() -> MessageType;
}
Expand description
! In this module we implement the message_type() getter for all protobuf message types. This trait extends the protobuf Message trait to also have a static getter for the message type code. This getter is implemented in this file for all the messages we use.