pub trait BufferWriterHost: Send + Any + Debug {
    // Required methods
    fn add_reader(
&mut self,
reader_inbox: Sender<BlockMessage>,
reader_input_id: usize
) -> BufferReader; fn as_any(&mut self) -> &mut dyn Any; fn produce(&mut self, amount: usize, tags: Vec<ItemTag>); fn bytes(&mut self) -> (*mut u8, usize); fn notify_finished<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait
; fn finish(&mut self); fn finished(&self) -> bool; }

Required Methods§

source

fn add_reader(
&mut self,
reader_inbox: Sender<BlockMessage>,
reader_input_id: usize
) -> BufferReader

source

fn as_any(&mut self) -> &mut dyn Any

source

fn produce(&mut self, amount: usize, tags: Vec<ItemTag>)

source

fn bytes(&mut self) -> (*mut u8, usize)

source

fn notify_finished<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,

source

fn finish(&mut self)

source

fn finished(&self) -> bool

Implementors§

source§

impl BufferWriterHost for futuresdr::runtime::buffer::circular::Writer

source§

impl BufferWriterHost for futuresdr::runtime::buffer::slab::Writer