pub trait CustomTypeDecoder: Send + Sync {
// Required method
fn decode_value(&self, input: &mut &[u8]) -> Result<Value>;
}
Expand description
Implement this trait to define custom decoding for a type in a scale-info
type registry.
pub trait CustomTypeDecoder: Send + Sync {
// Required method
fn decode_value(&self, input: &mut &[u8]) -> Result<Value>;
}
Implement this trait to define custom decoding for a type in a scale-info
type registry.