13 lines
269 B
Rust
13 lines
269 B
Rust
use crate::commands::{Command, empty_command_request, empty_command_response};
|
|
|
|
pub struct Ping;
|
|
|
|
empty_command_request!(Ping, "ping");
|
|
|
|
empty_command_response!(Ping);
|
|
|
|
impl Command<'_, '_> for Ping {
|
|
type Request = PingRequest;
|
|
type Response = PingResponse;
|
|
}
|