Trait futuresdr::runtime::buffer::BufferReaderHost [−][src]
pub trait BufferReaderHost: Send + Any + Debug {
fn as_any(&mut self) -> &mut dyn Any;
fn bytes(&mut self) -> (*const u8, usize);
fn consume(&mut self, amount: usize);
fn notify_finished<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn finish(&mut self);
fn finished(&self) -> bool;
}