pub trait Decode<T>: TryDecode<T> {
// Provided method
fn decode<D: CANRead>(&self, data: &D) -> T { ... }
}
Expand description
A trait modeling the not failable decoding of data.
Provided Methods§
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.