pub trait EncodeWith<A> {
// Required method
fn encode_with<K: Sink>(&self, w: &mut K, args: A) -> Result<(), BitError>;
}Expand description
The dual of DecodeWith — polymorphic encode with context A.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".