Remove a few unused type aliases
This commit is contained in:
@@ -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)]
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user