Module kvarn::ctl

source ·
Available on crate feature handover only.
Expand description

Control the Kvarn server from the outside.

Plugins can be added using RunConfig::add_plugin.


The arguments passed by kvarnctl to a Plugin.
A response in reply to the request kvarnctl sent.
The plugins this Kvarn instance supports.


The kind of response to send back to kvarnctl. See PluginResponse for more details.


Check if args has no arguments. If that’s the case, an error with the appropriate PluginResponse is returned. Use the if let Err() pattern to easily return.

Type Definitions

A plugin, similar to the extensions. One can easily be constructed using the plugin! macro.