hundreds-breakfast-49010
09/12/2019, 9:00 PMdatatype from scratch in rust code?aloof-angle-91616
09/12/2019, 9:01 PMcreate_* that we get when initializing the scheduler, and provide arguments to thathundreds-breakfast-49010
09/12/2019, 9:02 PMconstruct_directory_digest?hundreds-breakfast-49010
09/12/2019, 9:02 PMexterns::unsafe_callaloof-angle-91616
09/12/2019, 9:02 PMhundreds-breakfast-49010
09/12/2019, 11:00 PMhundreds-breakfast-49010
09/12/2019, 11:01 PMValue into a Future so my code typecheckshundreds-breakfast-49010
09/12/2019, 11:01 PMhundreds-breakfast-49010
09/12/2019, 11:01 PMaloof-angle-91616
09/12/2019, 11:01 PMfuture::ok(), which may already be available as ok() depending upon which file you're inaloof-angle-91616
09/12/2019, 11:01 PMhundreds-breakfast-49010
09/12/2019, 11:02 PMhundreds-breakfast-49010
09/12/2019, 11:02 PMaloof-angle-91616
09/12/2019, 11:02 PMhundreds-breakfast-49010
09/12/2019, 11:02 PMaloof-angle-91616
09/12/2019, 11:03 PMfuture::ok() and then you just .map(), .and_then(), and then you have to call .to_boxed() at the end to make it a BoxedFuturealoof-angle-91616
09/12/2019, 11:03 PMaloof-angle-91616
09/12/2019, 11:03 PMaloof-angle-91616
09/12/2019, 11:03 PMboxed_futurealoof-angle-91616
09/12/2019, 11:03 PMaverage-vr-56795
09/13/2019, 9:38 AMBoxFuture<Item, Error> is just an alias for Box<Future<Item=Item, Error=Error> + Send
• try_future! is like the try! macro (which is the same as the ? operator), but which returns a BoxFuture rather than a Result (i.e. if its argument is an error, it early-returns a BoxFuture<_, Error> of that error, else it unwraps the Ok(T) to a Taverage-vr-56795
09/13/2019, 9:38 AM