pub struct WasmWorkerConfig {
pub module_path: PathBuf,
pub worker_id: String,
pub supported_tasks: Vec<String>,
pub max_memory_pages: u32,
pub max_execution_time_ms: u64,
pub allowed_env: Vec<String>,
}Expand description
Configuration for a WASM module worker.
Fields§
§module_path: PathBuf§worker_id: String§supported_tasks: Vec<String>§max_memory_pages: u32§max_execution_time_ms: u64§allowed_env: Vec<String>Auto Trait Implementations§
impl Freeze for WasmWorkerConfig
impl RefUnwindSafe for WasmWorkerConfig
impl Send for WasmWorkerConfig
impl Sync for WasmWorkerConfig
impl Unpin for WasmWorkerConfig
impl UnsafeUnpin for WasmWorkerConfig
impl UnwindSafe for WasmWorkerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more