Third party stream combinators are often a pain in the ass to use because forget to put simple accessors like get_ref, get_mut on their structures. Futures has delegate_sink! delegate_access_inner, for this reason: it makes life better.
As I was writing my own combinator, I was repeating this stuff out, and I wondered if it made sense to have them public to encourage people to give their types a wider API?
Third party stream combinators are often a pain in the ass to use because forget to put simple accessors like get_ref, get_mut on their structures. Futures has
delegate_sink!delegate_access_inner, for this reason: it makes life better.As I was writing my own combinator, I was repeating this stuff out, and I wondered if it made sense to have them public to encourage people to give their types a wider API?