pub trait Encode: Serialize {
// Provided method
fn encode(&self, w: &mut impl Write) -> Result<()> { ... }
}
Expand description
Types implementing this trait can be serialized into a valid tarantool tuple (msgpack array).
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.