witty-crayon-22786
10/27/2017, 7:42 PMwitty-crayon-22786
10/27/2017, 7:43 PM[closure@...]
bit contains the meat of the issue: the closure is essentially a codegen'd struct, and that line describes what the captured fields arewitty-crayon-22786
10/27/2017, 7:44 PM'static
.witty-crayon-22786
10/27/2017, 7:51 PMwitty-crayon-22786
10/27/2017, 7:52 PMaverage-vr-56795
10/30/2017, 2:49 PMaverage-vr-56795
10/30/2017, 2:50 PMaverage-vr-56795
10/30/2017, 2:57 PMenough-analyst-54434
10/30/2017, 3:23 PMwitty-crayon-22786
10/30/2017, 5:12 PMwitty-crayon-22786
10/30/2017, 5:13 PMArc
Clone
vs Copy
is an interesting onewitty-crayon-22786
10/30/2017, 5:13 PMCopy
is implicit... ie, the compiler will do it automaticallywitty-crayon-22786
10/30/2017, 5:13 PMCopy
if you have any logic involved with clonewitty-crayon-22786
10/30/2017, 5:14 PMCopy
== memcpy
witty-crayon-22786
10/30/2017, 5:14 PMaverage-vr-56795
10/30/2017, 5:15 PMwitty-crayon-22786
10/30/2017, 5:15 PMwitty-crayon-22786
10/30/2017, 5:16 PMwitty-crayon-22786
10/30/2017, 5:16 PMaverage-vr-56795
10/30/2017, 5:18 PMwitty-crayon-22786
10/30/2017, 5:18 PMaverage-vr-56795
10/30/2017, 5:18 PMwitty-crayon-22786
10/30/2017, 5:19 PMBox<Future<_, _>>
should unify the typeaverage-vr-56795
10/30/2017, 5:20 PMwitty-crayon-22786
10/30/2017, 5:21 PMwitty-crayon-22786
10/30/2017, 5:21 PMaverage-vr-56795
10/30/2017, 5:22 PMfutures::FutureResult
, found struct futures::Join
and a Join is a Future instancewitty-crayon-22786
10/30/2017, 5:22 PMimpl Trait
will not help with things on the stack, afaik.witty-crayon-22786
10/30/2017, 5:22 PMaverage-vr-56795
10/30/2017, 5:23 PM