pub struct Interpreter {
pub input: RibInput,
pub invoke: Arc<dyn RibComponentFunctionInvoke + Sync + Send>,
pub generate_worker_name: Arc<dyn GenerateWorkerName + Sync + Send>,
}Fields§
§input: RibInput§invoke: Arc<dyn RibComponentFunctionInvoke + Sync + Send>§generate_worker_name: Arc<dyn GenerateWorkerName + Sync + Send>Implementations§
Source§impl Interpreter
impl Interpreter
pub fn new( input: RibInput, invoke: Arc<dyn RibComponentFunctionInvoke + Sync + Send>, generate_worker_name: Arc<dyn GenerateWorkerName + Sync + Send>, ) -> Self
pub fn pure( input: RibInput, generate_worker_name: Arc<dyn GenerateWorkerName + Sync + Send>, ) -> Self
pub fn override_rib_input(&mut self, rib_input: RibInput)
pub async fn run( &mut self, instructions0: RibByteCode, ) -> Result<RibResult, RibRuntimeError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Interpreter
impl !RefUnwindSafe for Interpreter
impl Send for Interpreter
impl Sync for Interpreter
impl Unpin for Interpreter
impl UnsafeUnpin for Interpreter
impl !UnwindSafe for Interpreter
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