The decrypt_chunk function is a function used by many higher level
functions and crates. Without specifying the Send constraint, all
async functions relying on this function will be non-Send.
This shouldn't be dangerous, as the Boxed Future is actually Send-able
as witnessed by the fact the compiler does not complain.
The decrypt_chunk function is a function used by many higher level functions and crates. Without specifying the Send constraint, all async functions relying on this function will be non-Send.
This shouldn't be dangerous, as the Boxed Future is actually Send-able as witnessed by the fact the compiler does not complain.
Should fix: https://github.com/maidsafe/safe_network/issues/62 https://github.com/maidsafe/sn_client/issues/1555