Available on crate feature
ctrlc_handler only.Expand description
REPLs for dispatching updates.
This module provides utilities for easy update handling. They accept a single “handler” function that processes all updates of a certain kind. Note that REPLs are meant to be used for simple scenarios, such as prototyping, inasmuch they lack configuration and some advanced features.
Traits§
- Command
Repl Ext - A REPL for commands.
Functions§
- repl
- A REPL for messages.
- repl_
with_ listener - A REPL for messages, with a custom
UpdateListener.