16 lines
466 B
Rust
16 lines
466 B
Rust
use crate::{
|
|
commands::{Command, ResponseParserError, empty_command_request, multi_item_command_response},
|
|
response_tokenizer::expect_property_type,
|
|
};
|
|
|
|
pub struct ProtocolAvailable;
|
|
|
|
empty_command_request!(ProtocolAvailable, "protocol available");
|
|
|
|
multi_item_command_response!(ProtocolAvailable, "feature", String);
|
|
|
|
impl Command<'_, '_> for ProtocolAvailable {
|
|
type Request = ProtocolAvailableRequest;
|
|
type Response = ProtocolAvailableResponse;
|
|
}
|