mesh_protobuf

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§