The title actually says it all, but:
Various getters return asynchronous streams (async_ftp::FtpSream::retr in my case, but so does e.g. cat — seems unfair to return something the library itself doesn't accept), and those cannot be easily passed to functions like add. Buffering in memory or temporary files may be expensive or even infeasible, depending on the size.
So it would be nice if some form of async stream could be passed to add and friends.
(This requires changes to rust-multipart-rfc7578, I think. I hope not to hyper, too?)
The title actually says it all, but: Various getters return asynchronous streams (
async_ftp::FtpSream::retr
in my case, but so does e.g.cat
— seems unfair to return something the library itself doesn't accept), and those cannot be easily passed to functions likeadd
. Buffering in memory or temporary files may be expensive or even infeasible, depending on the size.So it would be nice if some form of async stream could be passed to add and friends.
(This requires changes to rust-multipart-rfc7578, I think. I hope not to hyper, too?)