Function mesh::upcast::upcast

source ·
pub fn upcast<T, U>(value: T) -> U
Expand description

Converts a message from one type to another, where the destination type’s encoding is a superset of the source type’s.