Trait wild_doc_script::WildDocScript
source · pub trait WildDocScript {
// Required methods
fn new(state: WildDocState) -> Result<Self>
where Self: Sized;
fn evaluate_module(&mut self, file_name: &str, src: &[u8]) -> Result<()>;
fn eval(&mut self, code: &[u8]) -> Result<Bson>;
}