pub trait Split {
type Prod: Producer;
type Cons: Consumer;
// Required method
fn split(self) -> (Self::Prod, Self::Cons);
}Expand description
Split the ring buffer onto producer and consumer.
Required Associated Types§
Required Methods§
Implementations on Foreign Types§
Implementors§
Source§impl<S: Storage, X: Semaphore> Split for BlockingRb<S, X>
Available on crate feature alloc only.
impl<S: Storage, X: Semaphore> Split for BlockingRb<S, X>
Available on crate feature
alloc only.