Expand description
Common message-related definitions.
Structs§
- Action
Fuse - ActionFuse is a wrapper around a triggered action (a closure with no arguments and no return value). This action is invoked once the fuse goes out of scope (via the Drop trait). An ActionFuse can be defused, preventing the action from automatically invoking when going out of scope.
Type Aliases§
- Action
Fuse Handle - The reference-counted handle to an ActionFuse. When all references go out of scope, the action will be triggered (if not defused).
- Triggered
Action - Closure definition for an action that can be triggered by ActionFuse.