Function multipart_stream::serializer::serialize[][src]

pub fn serialize<S, E>(
    parts: S,
    boundary: &str
) -> impl Stream<Item = Result<Bytes, E>> where
    S: Stream<Item = Result<Part, E>>, 
Expand description

Serializes Parts into Bytes. Sets the Content-Length header on each part rather than expecting the caller to do so.