Trait futuresdr::runtime::buffer::BufferWriterCustom
source · pub trait BufferWriterCustom: 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 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;
}
Expand description
Custom buffer writer
Required Methods§
sourcefn add_reader(
&mut self,
reader_inbox: Sender<BlockMessage>,
reader_input_id: usize
) -> BufferReader
fn add_reader( &mut self, reader_inbox: Sender<BlockMessage>, reader_input_id: usize ) -> BufferReader
Add a reader