I have a
Read + !Send type (a git object reader obtained from
git2::Odb::reader) that I need to pass to a method wrapping a Hyper request that requires
Read + Send + 'static (
Send don’t mix well, but I need to somehow pass a
Read + !Send for a streaming approach to conserve RAM in my use case (see above; think big git blobs).
- Is there a standard way to wrap
Read + !Sendtypes to get
Read + Send?
- If not, what else could I try to implement myself?