pub trait Encodable<T> {
// Required method
fn into_encode(self) -> T;
}Expand description
Convert a stream of protobuf messages to an HTTP body payload.
Required Methods§
fn into_encode(self) -> T
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".