Skip to main content

wire_decoder_registry

Function wire_decoder_registry 

Source
pub fn wire_decoder_registry() -> &'static HashMap<u64, fn(&[u8]) -> Result<Box<dyn SlotValue>, SlotValueError>>
Expand description

Startup-built type_hash → WireDecodeFn map used by CompositeValue’s wire codec to materialise typed children.