(&self, f: &mut Formatter)
| 223 | |
| 224 | impl Debug for Bytes { |
| 225 | fn fmt(&self, f: &mut Formatter) -> std::fmt::Result { |
| 226 | write!(f, "Bytes {{ ptr: {:?}, len: {}, data: ", self.ptr, self.len,)?; |
| 227 | |
| 228 | f.debug_list().entries(self.iter()).finish()?; |
| 229 | |
| 230 | write!(f, " }}") |
| 231 | } |
| 232 | } |
| 233 | |
| 234 | impl From<bytes::Bytes> for Bytes { |