Function mime_multipart::write_multipart
[−]
[src]
pub fn write_multipart<S: Write>(stream: &mut S,
boundary: &Vec<u8>,
nodes: &Vec<Node>)
-> Result<usize, Error>
Stream a multipart body to the output stream
given, made up of the parts
given. Top-level headers are NOT included in this stream; the caller must send
those prior to calling write_multipart().
Returns the number of bytes written, or an error.