(&self)
| 75 | } |
| 76 | |
| 77 | pub fn ping(&self) -> Result<()> { |
| 78 | let response = self.send_command(IpcCommand::Ping)?; |
| 79 | match response { |
| 80 | IpcResponse::Ack => Ok(()), |
| 81 | IpcResponse::Err => anyhow::bail!("Failed to ping memtrack"), |
| 82 | } |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | /// Handle incoming IPC messages in memtrack |
nothing calls this directly
no test coverage detected