(&self)
| 105 | /// Return true if the buffer is empty |
| 106 | #[expect(clippy::missing_panics_doc, reason = "not handling poisoned mutex")] |
| 107 | pub fn is_empty(&self) -> bool { |
| 108 | self.inner.lock().unwrap().is_empty() |
| 109 | } |
| 110 | |
| 111 | /// Returns `true` if the receiver has dropped, and therefore the channel is closed |
| 112 | #[expect(clippy::missing_panics_doc, reason = "not handling poisoned mutex")] |
nothing calls this directly
no outgoing calls
no test coverage detected