Trait mesh::payload::protofile::DescribeMessage
source · pub trait DescribeMessage<T> {
const DESCRIPTION: MessageDescription<'static>;
}
Expand description
A trait for a self-describing protobuf message.
This can be derived for T
by deriving Protobuf
and
adding the attribute #[mesh(package = "my.package.name")]
.
Required Associated Constants§
sourceconst DESCRIPTION: MessageDescription<'static>
const DESCRIPTION: MessageDescription<'static>
The message description.
Object Safety§
This trait is not object safe.