corepc_client/client_sync/v17/
control.rs1#[macro_export]
14macro_rules! impl_client_v17__get_memory_info {
15 () => {
16 impl Client {
17 pub fn get_memory_info(&self) -> Result<GetMemoryInfoStats> {
18 self.call("getmemoryinfo", &[])
19 }
20 }
21 };
22}
23
24#[macro_export]
26macro_rules! impl_client_v17__help {
27 () => {
28 impl Client {
29 pub fn help(&self) -> Result<String> { self.call("help", &[]) }
30 }
31 };
32}
33
34#[macro_export]
36macro_rules! impl_client_v17__logging {
37 () => {
38 impl Client {
39 pub fn logging(&self) -> Result<Logging> { self.call("logging", &[]) }
40 }
41 };
42}
43
44#[macro_export]
46macro_rules! impl_client_v17__stop {
47 () => {
48 impl Client {
49 pub fn stop(&self) -> Result<String> { self.call("stop", &[]) }
50 }
51 };
52}
53
54#[macro_export]
56macro_rules! impl_client_v17__uptime {
57 () => {
58 impl Client {
59 pub fn uptime(&self) -> Result<u32> { self.call("uptime", &[]) }
60 }
61 };
62}