pub struct StreamRunner { /* private fields */ }
Expand description
Runs elementary streams through a stream processor.
Implementations§
Source§impl StreamRunner
impl StreamRunner
pub fn new(stream_processor: StreamProcessorProxy) -> Self
pub async fn run_stream( &mut self, stream: Rc<dyn ElementaryStream>, options: StreamOptions, ) -> Result<Vec<Output>>
Auto Trait Implementations§
impl Freeze for StreamRunner
impl !RefUnwindSafe for StreamRunner
impl Send for StreamRunner
impl Sync for StreamRunner
impl Unpin for StreamRunner
impl !UnwindSafe for StreamRunner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more