Trait mz_proto::wire_compatible::WireCompatible
source · pub unsafe trait WireCompatible<T: Message>: Message + Default {
// Provided method
fn convert(old: &T) -> Self { ... }
}Expand description
Denotes that Self is wire compatible with type T.
You should not implement this yourself, instead use the wire_compatible! macro.
Provided Methods§
Object Safety§
This trait is not object safe.