16 lines
394 B
Rust
16 lines
394 B
Rust
use crate::{
|
|
commands::{Command, ResponseParserError, empty_command_request, multi_item_command_response},
|
|
response_tokenizer::expect_property_type,
|
|
};
|
|
|
|
pub struct Protocol;
|
|
|
|
empty_command_request!(Protocol, "protocol");
|
|
|
|
multi_item_command_response!(Protocol, "feature", String);
|
|
|
|
impl Command for Protocol {
|
|
type Request = ProtocolRequest;
|
|
type Response = ProtocolResponse;
|
|
}
|