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§

source

const DESCRIPTION: MessageDescription<'static>

The message description.

Provided Associated Constants§

source

const TYPE_URL: TypeUrl<'static> = _

The type URL for this message.

Object Safety§

This trait is not object safe.

Implementors§