pub async fn run(
ip: Option<Ipv4Addr>,
index: Option<usize>,
name: String,
iface: Option<IfaceSelector>,
json: bool,
) -> Result<()>Expand description
Execute a GenApi <Command> feature.
Separate from set because a command has no value: set --name UserSetLoad --value 1 worked, since Camera::set dispatches commands and discards the
value, but nothing said so and the required --value reads like a mistake
(issue #121).
There is deliberately no read-back. Camera::get on a Command returns a
type error, and GenICam’s pIsDone polling is not implemented — so the only
honest report is that the write was acknowledged.