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.

Required Methods§

source

fn decode_value(&self, input: &mut &[u8]) -> Result<Value>

Implementors§