(&self)
| 134 | |
| 135 | impl AsRef<[u8]> for BinOrUtf8 { |
| 136 | fn as_ref(&self) -> &[u8] { |
| 137 | match self { |
| 138 | BinOrUtf8::Bin(it) => it.as_ref(), |
| 139 | BinOrUtf8::Utf8(it) => it.as_ref(), |
| 140 | } |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | /// More convenient version of [`std::process::Command`]. Allows for |
no outgoing calls
no test coverage detected