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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
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.