transcode

Function transcode 

Source
pub fn transcode<T, O>(value: T) -> O
where T: Debug + PartialEq + Encode, O: for<'de> Decode<'de>,
Expand description

Encode a type as one and decode as another.