kvarn::ctl

Struct PluginResponse

source
pub struct PluginResponse {
    pub kind: PluginResponseKind,
    pub close: bool,
    pub post_send: Option<Box<dyn FnOnce() + Send + Sync>>,
}
Available on crate feature handover only.
Expand description

A response in reply to the request kvarnctl sent.

Fields§

§kind: PluginResponseKind

The kind of response.

§close: bool

If the socket should be closed. Should ONLY be used when we are immediately shutting down.

§post_send: