//! The traits that connect typed commands to backends.
use Future;
use crateResult;
use crateGlobalOptions;
/// A typed Helm command (for example `Version`). The command struct holds the arguments and flags;
/// `Output` is what a successful run yields.
/// Marker for types that can execute commands. A backend implements [`Execute`] for every command
/// it supports.
/// A backend that can run the command `C`.
///
/// `Helm::run` is bounded on this trait, so a command the backend does not cover is a compile
/// error. Cancellation: dropping the returned future must not leave Helm state half-written where
/// avoidable; the CLI backend kills the process for read-only commands but lets mutating commands
/// (install, upgrade, rollback, ...) run to completion, because killing an upgrade leaves the
/// release in `pending-upgrade`.