[−][src]Crate mpd_protocol
Implementation of the client protocol for MPD. Supports binary responses and command lists,
provided they are initiated with the command_list_ok_begin
command.
Consists of a parser for MPD responses (parser
), and an implementation of Tokio's
codec subsystem to facilitate asynchronous clients (codec
).
Re-exports
pub use codec::MpdCodec; |
pub use codec::MpdCodecError; |
pub use command::Command; |
pub use command::CommandList; |
pub use parser::greeting as parse_greeting; |
pub use parser::response as parse_response; |
pub use response::Response; |
Modules
codec | Codec for MPD protocol. |
command | Tools for constructing MPD commands. |
parser |
|
response | Complete responses. |
Macros
command_list | Conveniently generate a command list. |