Struct spirit::WrapBody[][src]

pub struct WrapBody(_);

A wrapper around a body.

These are essentially boxed closures submitted by body_wrapper (or all of them folded together), but in a form that is usable (in contrast to Box<FnOnce(InnerBody) -> Result(), Error>). It is part of the return value of build and the caller should call it eventually.

Methods

impl WrapBody
[src]

Call the closure inside.

Auto Trait Implementations

impl Send for WrapBody

impl !Sync for WrapBody