Macro ffi_support::implement_into_ffi_by_protobuf [−][src]
Implements [IntoFfi
] for the provided types (more than one may be passed in) implementing
prost::Message
(protobuf auto-generated type) by converting to the type to a [ByteBuffer
].
This [ByteBuffer
] should later be passed by value.
Note: for this to works, the crate it’s called in must depend on prost
.
Note: Each type passed in must implement or derive prost::Message
.