kvarn::ctl

Enum PluginResponseKind

source
pub enum PluginResponseKind {
    Ok {
        data: Option<Vec<u8>>,
    },
    Error {
        data: Option<Vec<u8>>,
    },
}
Available on crate feature handover only.
Expand description

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

Variants§

§

Ok

The request was executed without errors.

Fields

§data: Option<Vec<u8>>

The optional response data.

§

Error

The request failed to execute.

Fields

§data: