pub fn serialize<T, S>(value: &T, serializer: S) -> Result<S::Ok, S::Error>where
    T: Serialize,
    S: Serializer,
Expand description

Serializes the given value as a number set

See the module documentation for additional usage information.

Errors

The serializer in this module will return an error if:

  • the value does not serialize as a sequence
  • the sequence contains any value that is not a number