Trait ceres_executor::derive::Builder [−][src]
pub trait Builder<T>: Sized { type Memory: Memory; fn new() -> Self; fn add_host_func<M, F>(&mut self, module: M, field: F, f: HostFuncType<T>)
where
F: Into<Vec<u8>>,
M: Into<Vec<u8>>; fn add_memory<M, F>(&mut self, module: M, field: F, mem: Self::Memory)
where
M: Into<Vec<u8>>,
F: Into<Vec<u8>>; }
Expand description
Ceres environment builder
Associated Types
Required methods
fn add_host_func<M, F>(&mut self, module: M, field: F, f: HostFuncType<T>) where
F: Into<Vec<u8>>,
M: Into<Vec<u8>>,
fn add_host_func<M, F>(&mut self, module: M, field: F, f: HostFuncType<T>) where
F: Into<Vec<u8>>,
M: Into<Vec<u8>>,
Register a host function in this environment definition