pub struct PluginSandbox {
pub memory_limit_mb: u64,
pub cpu_time_budget_ms: u64,
}Fields§
§memory_limit_mb: u64§cpu_time_budget_ms: u64Implementations§
Auto Trait Implementations§
impl Freeze for PluginSandbox
impl RefUnwindSafe for PluginSandbox
impl Send for PluginSandbox
impl Sync for PluginSandbox
impl Unpin for PluginSandbox
impl UnsafeUnpin for PluginSandbox
impl UnwindSafe for PluginSandbox
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