pub trait Split: RingBuffer {
    type Prod: Producer;
    type Cons: Consumer;

    // Required method
    fn split(self) -> (Self::Prod, Self::Cons);
}

Required Associated Types§

Required Methods§

source

fn split(self) -> (Self::Prod, Self::Cons)

Implementors§

source§

impl<S> Split for LocalRb<S>where S: Storage,

§

type Prod = Direct<Rc<LocalRb<S>, Global>, true, false>

§

type Cons = Direct<Rc<LocalRb<S>, Global>, false, true>

source§

impl<S> Split for SharedRb<S>where S: Storage,

§

type Prod = Caching<Arc<SharedRb<S>, Global>, true, false>

§

type Cons = Caching<Arc<SharedRb<S>, Global>, false, true>

source§

impl<S: Storage> Split for AsyncRb<S>

§

type Prod = AsyncWrap<Arc<AsyncRb<S>, Global>, true, false>

§

type Cons = AsyncWrap<Arc<AsyncRb<S>, Global>, false, true>