pub type Error = Error;👎Deprecated: Doesn’t abstract over RmpRead/RmpWrite (or work on no_std), use RmpRead::Error/RmpWrite::Error and RmpReadErr/RmpWriteErr instead
Expand description
An alias to the “default” error handling type.
This is problematic because when working on #[no_std], because there is no std::error::Error trait and also no std::io::Error type.
Furthermore, this doesn’t abstract over the differences between different implementations of RmpRead/RmpWrite.
When working directly with bytes streams, the error type is actually Infallible.
For these two reasons, this type is deprecated
Aliased Type§
struct Error { /* private fields */ }