diff --git a/src/commands.rs b/src/commands.rs index 5b6f26a..2f9095e 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -498,8 +498,6 @@ pub enum RequestParserError { MissingNewline, } -pub type ResponseParserResult<'a, T> = Result; - // TODO: should these be renamed to fit the mpd docs? // "Attribute" instead of "Property"? #[derive(Error, Debug, Clone, PartialEq)] diff --git a/src/response_tokenizer.rs b/src/response_tokenizer.rs index 0d2fad9..604deab 100644 --- a/src/response_tokenizer.rs +++ b/src/response_tokenizer.rs @@ -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, &'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),