pub struct LuaConfig {
pub max_stack_depth: usize,
pub timeout_ms: u64,
pub sandbox: bool,
}Expand description
Interpreter configuration.
Fields§
§max_stack_depth: usize§timeout_ms: u64§sandbox: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for LuaConfig
impl RefUnwindSafe for LuaConfig
impl Send for LuaConfig
impl Sync for LuaConfig
impl Unpin for LuaConfig
impl UnsafeUnpin for LuaConfig
impl UnwindSafe for LuaConfig
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