Type Alias Command
pub type Command<W> = Box<dyn FnOnce(&mut W)>;Expand description
An owned, opaque deferred mutation. Calling it consumes it exactly once.
Returned by CommandDrain; payloads need not implement Clone or Debug.
Commands invoked outside their buffer are not included in its apply metrics.
Aliased Typeยง
pub struct Command<W>(/* private fields */);