ractor_cluster

Macro derive_serialization_for_prost_type

source
macro_rules! derive_serialization_for_prost_type {
    {$ty:ty} => { ... };
}
Expand description

Derive crate::BytesConvertable for a given prost type. This utilizes the prost extensions

Since by Rust’s logic, prost::Message could be implemented for any type in the future, this could cause a conflicting implementation by defining this generic here, therefore we can’t do it for non-concrete types