pub(super) trait DecodeError {
type Ok;
// Required method
fn decode_error(self, msg: impl Display) -> Result<Self::Ok>;
}
Required Associated Types§
Required Methods§
fn decode_error(self, msg: impl Display) -> Result<Self::Ok>
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.