[][src]Trait gluon::compiler_pipeline::Executable

pub trait Executable<'vm, Extra> {
    type Expr;
    fn run_expr<T>(
        self,
        compiler: &mut Compiler,
        vm: T,
        name: &str,
        expr_str: &str,
        arg: Extra
    ) -> BoxFuture<'vm, ExecuteValue<RootedThread, Self::Expr>, Error>
    where
        T: Send + VmRoot<'vm>
;
fn load_script<T>(
        self,
        compiler: &mut Compiler,
        vm: T,
        filename: &str,
        expr_str: &str,
        arg: Extra
    ) -> BoxFuture<'vm, (), Error>
    where
        T: Send + VmRoot<'vm>
; }

Associated Types

Required Methods

Implementors

impl<'vm, 'de, D> Executable<'vm, ()> for Precompiled<D> where
    D: Deserializer<'de>, 
[src]

impl<'vm, C, Extra> Executable<'vm, Extra> for C where
    C: Compileable<Extra>,
    C::Expr: BorrowMut<SpannedExpr<Symbol>> + Send + 'vm, 
[src]

impl<'vm, E> Executable<'vm, ()> for CompileValue<E> where
    E: BorrowMut<SpannedExpr<Symbol>> + Send + 'vm, 
[src]