pub trait Decodable<'tx> {
// Required method
fn decode(data_val: &[u8]) -> Result<Self, Error>
where Self: Sized;
}Expand description
Implement this to be able to decode data values
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".