| 200 | /// Shared data between the paired [`Tx`] and [`Rx`] |
| 201 | #[derive(Debug)] |
| 202 | struct Buffer<T> { |
| 203 | data: VecDeque<T>, |
| 204 | capacity: usize, |
| 205 | sender_dropped: bool, |
| 206 | receiver_dropped: bool, |
| 207 | disruption_handled: Option<Side>, |
| 208 | } |
| 209 | |
| 210 | impl<T> Buffer<T> { |
| 211 | fn new(capacity: usize) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected