serialize

Function serialize 

Source
pub fn serialize<S, T>(x: T, s: S) -> Result<S::Ok, S::Error>
where S: Serializer, T: AsRef<[u8]>,
Expand description

Serialize a byte vec as a hex string with 0x prefix