I need Send + Sync + 'static and need to enforce them, maybe some use cases don't
Hard coded to futures-0.1, but I think we wouldn't be able to make it more general until HKT
Boxing because you can't use impl Fn in traits.
Is there any interest here? I'm using it and it seems handy. Maybe there's a better discussion to be had in failure's ResultExt which could have the same pattern?
It's real nice having
result.chain_err(|| ...)
for your results but then when using code involving futures you end up having to go back toIn order to get around this, I made a variant of
ResultExt
that works for futures (0.1 for now):Some immediate issues:
Send + Sync + 'static
and need to enforce them, maybe some use cases don'timpl Fn
in traits.Is there any interest here? I'm using it and it seems handy. Maybe there's a better discussion to be had in
failure
'sResultExt
which could have the same pattern?