BatchKernelDyn

Trait BatchKernelDyn 

Source
pub trait BatchKernelDyn: GpuKernel {
    // Required method
    fn execute_dyn<'life0, 'life1, 'async_trait>(
        &'life0 self,
        input: &'life1 [u8],
    ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Type-erased batch kernel for registry storage.

Required Methods§

Source

fn execute_dyn<'life0, 'life1, 'async_trait>( &'life0 self, input: &'life1 [u8], ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Execute with type-erased input/output.

Implementors§