pub trait DecodeError {
// Required methods
fn not_enough_bytes_in_the_buffer() -> Self;
fn too_large() -> Self;
fn invalid_enum_variant_name() -> Self;
fn invalid_enum_variant_index() -> Self;
fn custom() -> Self;
fn invalid_utf8() -> Self;
fn nonmax_but_max() -> Self;
fn nonzero_but_zero() -> Self;
}
Required Methods§
fn not_enough_bytes_in_the_buffer() -> Self
fn too_large() -> Self
fn invalid_enum_variant_name() -> Self
fn invalid_enum_variant_index() -> Self
fn custom() -> Self
fn invalid_utf8() -> Self
fn nonmax_but_max() -> Self
fn nonzero_but_zero() -> 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.