pub trait EncodeError {
// Required methods
fn not_enough_bytes_in_the_buffer() -> Self;
fn too_large() -> Self;
fn custom() -> Self;
}Required Methods§
fn not_enough_bytes_in_the_buffer() -> Self
fn too_large() -> Self
fn custom() -> Self
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.