(buffer: Arc<Mutex<Buffer<T>>>, notifier: Arc<Notify>)
| 68 | |
| 69 | impl<T> Sender<T> { |
| 70 | fn new(buffer: Arc<Mutex<Buffer<T>>>, notifier: Arc<Notify>) -> Self { |
| 71 | Self { |
| 72 | inner: buffer, |
| 73 | notifier, |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | /// Send a value to the ring buffer, overwriting the oldest value if full |
| 78 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected