pub struct WasmConfig {
pub module: String,
pub fuel: u64,
pub memory_mb: u64,
pub config: String,
}Expand description
[route.middleware.wasm].
Fields§
§module: StringPath of the .wasm file.
fuel: u64§memory_mb: u64§config: StringThe string the plugin’s rws_init gets.
Trait Implementations§
Source§impl Clone for WasmConfig
impl Clone for WasmConfig
Source§impl Debug for WasmConfig
impl Debug for WasmConfig
Source§impl Default for WasmConfig
impl Default for WasmConfig
Source§impl PartialEq for WasmConfig
impl PartialEq for WasmConfig
impl StructuralPartialEq for WasmConfig
Auto Trait Implementations§
impl Freeze for WasmConfig
impl RefUnwindSafe for WasmConfig
impl Send for WasmConfig
impl Sync for WasmConfig
impl Unpin for WasmConfig
impl UnsafeUnpin for WasmConfig
impl UnwindSafe for WasmConfig
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