Function serialize
Source pub fn serialize<S, E>(
parts: S,
boundary: &str,
) -> impl Stream<Item = Result<Bytes, E>>
Expand description
Serializes Parts into Bytes.
Sets the Content-Length header on each part rather than expecting the caller to do so.