pub struct InnerBody(_);
Expand description
A workaround type for Box<FnOnce() -> Result<(), Error>
.
Since it is not possible to use the aforementioned type in any meaningful way in Rust yet, this
works around the problem. The type has a run
method which does the same thing.
This is passed as parameter to the body_wrapper
.
It is also returned as part of the build
’s result.