Trait async_ringbuf::traits::SplitRef
source · pub trait SplitRef: RingBuffer {
type RefProd<'a>: Producer + 'a
where Self: 'a;
type RefCons<'a>: Consumer + 'a
where Self: 'a;
// Required method
fn split_ref(&mut self) -> (Self::RefProd<'_>, Self::RefCons<'_>);
}