pub fn associate<T: Decode, U: Encode>(value: U) -> Result<T, Error>
Try to associate a value to some associated type, as long as they are each part of Codec.
Codec