(&self, host: &str, _headers: I)
| 32 | } |
| 33 | |
| 34 | fn connect<I, K, V>(&self, host: &str, _headers: I) -> bool |
| 35 | where |
| 36 | I: IntoIterator<Item = (K, V)>, |
| 37 | K: BnStrCompatible, |
| 38 | V: BnStrCompatible, |
| 39 | { |
| 40 | assert_eq!(host, "url"); |
| 41 | true |
| 42 | } |
| 43 | |
| 44 | fn write(&self, data: &[u8]) -> bool { |
| 45 | if !self.core.notify_read("sent: ".as_bytes()) { |
no outgoing calls
no test coverage detected