pub struct RunnableSequence<I, O> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<I: 'static + Send, O: 'static + Send> Runnable<I, O> for RunnableSequence<I, O>
impl<I: 'static + Send, O: 'static + Send> Runnable<I, O> for RunnableSequence<I, O>
fn invoke( &self, input: I, ) -> Pin<Box<dyn Future<Output = Result<O, Error>> + Send>>
fn clone_to_owned(&self) -> Box<dyn Runnable<I, O> + Send + Sync>
fn invoke_with_config( &self, input: I, _config: Option<HashMap<String, Value>>, ) -> Pin<Box<dyn Future<Output = Result<O, Error>> + Send>>
fn batch( &self, inputs: Vec<I>, ) -> Pin<Box<dyn Future<Output = Vec<Result<O, Error>>> + Send>>
fn batch_with_config( &self, inputs: Vec<I>, _config: Option<HashMap<String, Value>>, ) -> Pin<Box<dyn Future<Output = Vec<Result<O, Error>>> + Send>>
fn stream(&self, input: I) -> Box<dyn Stream<Item = Result<O, Error>> + Send>
fn astream( &self, _input: I, ) -> Pin<Box<dyn Future<Output = Box<dyn Stream<Item = Result<O, Error>> + Send>> + Send>>
Auto Trait Implementations§
impl<I, O> Freeze for RunnableSequence<I, O>
impl<I, O> !RefUnwindSafe for RunnableSequence<I, O>
impl<I, O> Send for RunnableSequence<I, O>
impl<I, O> Sync for RunnableSequence<I, O>
impl<I, O> Unpin for RunnableSequence<I, O>
impl<I, O> !UnwindSafe for RunnableSequence<I, O>
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