(&self, data: &[u8])
| 42 | } |
| 43 | |
| 44 | fn write(&self, data: &[u8]) -> bool { |
| 45 | if !self.core.notify_read("sent: ".as_bytes()) { |
| 46 | return false; |
| 47 | } |
| 48 | if !self.core.notify_read(data) { |
| 49 | return false; |
| 50 | } |
| 51 | self.core.notify_read("\n".as_bytes()) |
| 52 | } |
| 53 | |
| 54 | fn disconnect(&self) -> bool { |
| 55 | true |
no test coverage detected