Check if the value is empty
(&self)
| 146 | |
| 147 | /// Check if the value is empty |
| 148 | pub fn is_empty(&self) -> bool { |
| 149 | self.len() == 0 |
| 150 | } |
| 151 | |
| 152 | /// Write the value to an async writer with zero-copy optimization |
| 153 | pub async fn write_to<W: AsyncWrite + Unpin>(&self, writer: &mut W) -> io::Result<()> { |
no test coverage detected