Function hex_conservative::serde::serialize
source ยท pub fn serialize<S, T>(data: T, s: S) -> Result<S::Ok, S::Error>
Available on crate feature
serde
only.Expand description
Serializes data
as a hex string using lowercase characters.
We only serialize as hex if the serializer is human readable, if not we call through to the
Serialize
implementation for data
.