Trait mesh::payload::DescribedProtobuf
source · pub trait DescribedProtobuf: Protobuf {
const DESCRIPTION: MessageDescription<'static>;
const TYPE_URL: TypeUrl<'static> = _;
}
Expand description
Trait for types implementing Protobuf
and having an associated protobuf
message description.
Required Associated Constants§
sourceconst DESCRIPTION: MessageDescription<'static>
const DESCRIPTION: MessageDescription<'static>
The message description.
Provided Associated Constants§
Object Safety§
This trait is not object safe.