pub trait KVEncode {
// Required method
fn encode_kv<W: IoWrite>(
&self,
writer: &mut W,
) -> Result<usize, Error<W::Error>>;
}Expand description
A key-value encoder that writes a single key, value pair.
Required 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.