pub fn base16_encode<S, T>(
v: &T,
ser: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
T: Serial,Expand description
Encode the given value into a byte array using its Serial instance, and then encode that byte array as a hex string into the provided serde Serializer.