*_tokenizer: add module doccomment

This commit is contained in:
2025-12-08 13:10:31 +09:00
parent 7ae1249f09
commit 853eb8d515
2 changed files with 5 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
//! Module containing a tokenizer named [`RequestTokenizer`] for MPD requests.
use crate::commands::*;
#[derive(Clone, Debug)]

View File

@@ -1,3 +1,6 @@
//! Module containing a tokenizer named [`ResponseAttributes`] for MPD responses,
//! as well as some helper macros that makes it easier to create response parsers
pub type GenericResponseResult<'a> = Result<GenericResponse<'a>, &'a str>;
pub type GenericResponse<'a> = HashMap<&'a str, GenericResponseValue<'a>>;