pub fn transcode<T, O>(value: T) -> Owhere T: Debug + PartialEq + Encode, O: for<'de> Decode<'de>,
Encode a type as one and decode as another.