Expand description
Tools for constructing MPD commands.
For an overview of available commands, see the MPD documentation.
This does not perform any validations on commands beyond checking they appear well-formed, so it should not be tied to any particular protocol version.
Structs§
- Command
- A single command, possibly including arguments.
- Command
Error - Error returned when attempting to create invalid commands or arguments.
- Command
List - A non-empty list of commands.
Traits§
- Argument
- Things which can be used as arguments for commands.
Functions§
- escape_
argument - Escape a single argument, prefixing necessary characters (quotes and backslashes) with backslashes.