pub struct RuntimeChain { /* private fields */ }Expand description
A runtime-constructed chain that operates on Value.
This is used for deserialization where types are not known at compile time.
Implementations§
Trait Implementations§
Source§impl Runnable<Value, Value> for RuntimeChain
impl Runnable<Value, Value> for RuntimeChain
fn invoke<'life0, 'async_trait>(
&'life0 self,
input: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, WesichainError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn stream<'a>( &'a self, input: Value, ) -> BoxStream<'a, Result<StreamEvent, WesichainError>>
fn to_serializable(&self) -> Option<SerializableRunnable>
fn batch<'life0, 'async_trait>(
&'life0 self,
inputs: Vec<Input>,
) -> Pin<Box<dyn Future<Output = Vec<Result<Output, WesichainError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn abatch<'life0, 'async_trait>(
&'life0 self,
inputs: Vec<Input>,
) -> Pin<Box<dyn Future<Output = Vec<Result<Output, WesichainError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for RuntimeChain
impl !RefUnwindSafe for RuntimeChain
impl Send for RuntimeChain
impl Sync for RuntimeChain
impl Unpin for RuntimeChain
impl UnsafeUnpin for RuntimeChain
impl !UnwindSafe for RuntimeChain
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