Files
empidee/src/commands/queue/playlist.rs
2026-01-09 13:31:07 +09:00

23 lines
571 B
Rust

use crate::{
Request,
commands::{Command, RequestParserResult, ResponseAttributes, ResponseParserError},
};
pub struct Playlist;
impl Command for Playlist {
type Response = ();
const COMMAND: &'static str = "playlist";
fn parse_request(mut parts: std::str::SplitWhitespace<'_>) -> RequestParserResult<'_> {
debug_assert!(parts.next().is_none());
Ok((Request::Playlist, ""))
}
fn parse_response(
_parts: ResponseAttributes<'_>,
) -> Result<Self::Response, ResponseParserError> {
unimplemented!()
}
}