Skip to main content

serialize

Function serialize 

Source
pub fn serialize<T, S>(set: &AHashSet<T>, s: S) -> Result<S::Ok, S::Error>
where T: Serialize + Ord, S: Serializer,
Expand description

Serializes an AHashSet<T> as a sorted array for deterministic output.

ยงErrors

Returns an error if the underlying Serializer fails when writing the sorted vector.