Function serialize
pub fn serialize<S, T>(
value: &T,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
Expand description
Serialize from a byte slice into a hex-encoded string.
pub fn serialize<S, T>(
value: &T,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
Serialize from a byte slice into a hex-encoded string.