juiz_core 0.0.4

Core library for JUIZ application. This package is not required if you want to build juiz functional module.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::sync::{Arc, RwLock};

use crate::prelude::*;

use super::ExecutionContext;


pub trait ExecutionContextFactory {

    fn type_name(&self) -> &str;

    fn create(&self, manifest: Value) -> JuizResult<Arc<RwLock<dyn ExecutionContext>>>;

}