Remove a few unused type aliases

This commit is contained in:
2025-12-08 13:11:09 +09:00
parent 90d1455267
commit 016c246fa4
2 changed files with 0 additions and 6 deletions

View File

@@ -498,8 +498,6 @@ pub enum RequestParserError {
MissingNewline,
}
pub type ResponseParserResult<'a, T> = Result<T, ResponseParserError>;
// TODO: should these be renamed to fit the mpd docs?
// "Attribute" instead of "Property"?
#[derive(Error, Debug, Clone, PartialEq)]

View File

@@ -1,10 +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>>;
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum GenericResponseValue<'a> {
Text(&'a str),