pub struct RuntimeContext { /* private fields */ }Expand description
Runtime context for managing stream processing execution
Implementations§
Source§impl RuntimeContext
impl RuntimeContext
pub fn new(parallel_config: ParallelConfig) -> Self
Sourcepub async fn execute_pipeline<T, S, K>(
&self,
source: S,
operators: Vec<Arc<Mutex<dyn Operator<T, T> + Send + Sync>>>,
sink: K,
) -> StreamResult<()>
pub async fn execute_pipeline<T, S, K>( &self, source: S, operators: Vec<Arc<Mutex<dyn Operator<T, T> + Send + Sync>>>, sink: K, ) -> StreamResult<()>
Execute a source-to-sink pipeline with operators
Auto Trait Implementations§
impl Freeze for RuntimeContext
impl !RefUnwindSafe for RuntimeContext
impl Send for RuntimeContext
impl Sync for RuntimeContext
impl Unpin for RuntimeContext
impl !UnwindSafe for RuntimeContext
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