Is `self` exactly zero bytes?
(&self)
| 725 | |
| 726 | /// Is `self` exactly zero bytes? |
| 727 | pub fn is_empty(&self) -> bool { |
| 728 | match &self.inner { |
| 729 | BodyInner::Bytes(bytes) => bytes.is_empty(), |
| 730 | } |
| 731 | } |
| 732 | } |
| 733 | |
| 734 | impl Default for Body { |
no outgoing calls