pub trait NestedEncodeNoErr: Sized {
// Required method
fn dep_encode_no_err<O: NestedEncodeOutput>(&self, dest: &mut O);
}Expand description
Most types will be encoded without any possibility of error. The trait is used to provide these implementations. This is currently not a substitute for implementing a proper TopEncode.
Required Methods§
fn dep_encode_no_err<O: NestedEncodeOutput>(&self, dest: &mut O)
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.