[−][src]Trait gluon::compiler_pipeline::Executable
Associated Types
type Expr
Required methods
#[must_use]fn run_expr<'life0, 'life1, 'life2, 'life3, 'async_trait, T>(
self,
compiler: &'life0 mut ModuleCompiler<'life1>,
vm: T,
name: &'life2 str,
expr_str: &'life3 str,
arg: Extra
) -> Pin<Box<dyn Future<Output = Result<ExecuteValue<RootedThread, Self::Expr>>> + Send + 'async_trait>> where
T: Send + Sync + VmRoot<'vm>,
Extra: 'async_trait,
'vm: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
self,
compiler: &'life0 mut ModuleCompiler<'life1>,
vm: T,
name: &'life2 str,
expr_str: &'life3 str,
arg: Extra
) -> Pin<Box<dyn Future<Output = Result<ExecuteValue<RootedThread, Self::Expr>>> + Send + 'async_trait>> where
T: Send + Sync + VmRoot<'vm>,
Extra: 'async_trait,
'vm: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
#[must_use]fn load_script<'life0, 'life1, 'life2, 'life3, 'async_trait, T>(
self,
compiler: &'life0 mut ModuleCompiler<'life1>,
vm: T,
filename: &'life2 str,
expr_str: &'life3 str,
arg: Extra
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
T: Send + Sync + VmRoot<'vm>,
Extra: 'async_trait,
'vm: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
self,
compiler: &'life0 mut ModuleCompiler<'life1>,
vm: T,
filename: &'life2 str,
expr_str: &'life3 str,
arg: Extra
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
T: Send + Sync + VmRoot<'vm>,
Extra: 'async_trait,
'vm: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
Implementors
impl<'vm, C, Extra> Executable<'vm, Extra> for C where
C: Compileable<Extra> + Send,
C::Expr: Send + 'vm,
Extra: Send,
[src]
C: Compileable<Extra> + Send,
C::Expr: Send + 'vm,
Extra: Send,
type Expr = C::Expr
fn run_expr<'life0, 'life1, 'life2, 'life3, 'async_trait, T>(
self,
compiler: &'life0 mut ModuleCompiler<'life1>,
vm: T,
name: &'life2 str,
expr_str: &'life3 str,
arg: Extra
) -> Pin<Box<dyn Future<Output = Result<ExecuteValue<RootedThread, Self::Expr>>> + Send + 'async_trait>> where
T: Send + Sync + VmRoot<'vm>,
'vm: 'async_trait,
Extra: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
self,
compiler: &'life0 mut ModuleCompiler<'life1>,
vm: T,
name: &'life2 str,
expr_str: &'life3 str,
arg: Extra
) -> Pin<Box<dyn Future<Output = Result<ExecuteValue<RootedThread, Self::Expr>>> + Send + 'async_trait>> where
T: Send + Sync + VmRoot<'vm>,
'vm: 'async_trait,
Extra: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
fn load_script<'life0, 'life1, 'life2, 'life3, 'async_trait, T>(
self,
compiler: &'life0 mut ModuleCompiler<'life1>,
vm: T,
filename: &'life2 str,
expr_str: &'life3 str,
arg: Extra
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
T: Send + Sync + VmRoot<'vm>,
Extra: 'async_trait,
'vm: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
self,
compiler: &'life0 mut ModuleCompiler<'life1>,
vm: T,
filename: &'life2 str,
expr_str: &'life3 str,
arg: Extra
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
T: Send + Sync + VmRoot<'vm>,
Extra: 'async_trait,
'vm: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
impl<'vm, D> Executable<'vm, ()> for Precompiled<D> where
D: Deserializer<'vm> + Send,
[src]
D: Deserializer<'vm> + Send,
type Expr = ()
fn run_expr<'life0, 'life1, 'life2, 'life3, 'async_trait, T>(
self,
_compiler: &'life0 mut ModuleCompiler<'life1>,
vm: T,
filename: &'life2 str,
_expr_str: &'life3 str,
__arg5: ()
) -> Pin<Box<dyn Future<Output = Result<ExecuteValue<RootedThread, Self::Expr>>> + Send + 'async_trait>> where
T: Send + Sync + VmRoot<'vm>,
'vm: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
self,
_compiler: &'life0 mut ModuleCompiler<'life1>,
vm: T,
filename: &'life2 str,
_expr_str: &'life3 str,
__arg5: ()
) -> Pin<Box<dyn Future<Output = Result<ExecuteValue<RootedThread, Self::Expr>>> + Send + 'async_trait>> where
T: Send + Sync + VmRoot<'vm>,
'vm: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
fn load_script<'life0, 'life1, 'life2, 'life3, 'async_trait, T>(
self,
_compiler: &'life0 mut ModuleCompiler<'life1>,
vm: T,
name: &'life2 str,
_expr_str: &'life3 str,
__arg5: ()
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
T: Send + Sync + VmRoot<'vm>,
'vm: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
self,
_compiler: &'life0 mut ModuleCompiler<'life1>,
vm: T,
name: &'life2 str,
_expr_str: &'life3 str,
__arg5: ()
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
T: Send + Sync + VmRoot<'vm>,
'vm: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
impl<'vm, E> Executable<'vm, ()> for CompileValue<E> where
E: Send + 'vm,
[src]
E: Send + 'vm,
type Expr = E
fn run_expr<'life0, 'life1, 'life2, 'life3, 'async_trait, T>(
self,
compiler: &'life0 mut ModuleCompiler<'life1>,
vm: T,
name: &'life2 str,
_expr_str: &'life3 str,
__arg5: ()
) -> Pin<Box<dyn Future<Output = Result<ExecuteValue<RootedThread, Self::Expr>>> + Send + 'async_trait>> where
T: Send + Sync + VmRoot<'vm>,
'vm: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
self,
compiler: &'life0 mut ModuleCompiler<'life1>,
vm: T,
name: &'life2 str,
_expr_str: &'life3 str,
__arg5: ()
) -> Pin<Box<dyn Future<Output = Result<ExecuteValue<RootedThread, Self::Expr>>> + Send + 'async_trait>> where
T: Send + Sync + VmRoot<'vm>,
'vm: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
fn load_script<'life0, 'life1, 'life2, 'life3, 'async_trait, T>(
self,
compiler: &'life0 mut ModuleCompiler<'life1>,
_vm: T,
filename: &'life2 str,
expr_str: &'life3 str,
__arg5: ()
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
T: Send + Sync + VmRoot<'vm>,
'vm: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
self,
compiler: &'life0 mut ModuleCompiler<'life1>,
_vm: T,
filename: &'life2 str,
expr_str: &'life3 str,
__arg5: ()
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
T: Send + Sync + VmRoot<'vm>,
'vm: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,