kvarn::ctl

Struct Arguments

source
pub struct Arguments { /* private fields */ }
Available on crate feature handover only.
Expand description

The arguments passed by kvarnctl to a Plugin.

Implementations§

source§

impl Arguments

source

pub fn name(&self) -> &str

Get a reference to the name of this request. This will be the same as your plugin’s name.

source

pub fn iter(&self) -> impl Iterator<Item = &str>

Get a reference to the arguments.

Trait Implementations§