Skip to main content

Module repls

Module repls 

Source
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§

CommandReplExt
A REPL for commands.

Functions§

repl
A REPL for messages.
repl_with_listener
A REPL for messages, with a custom UpdateListener.