pub struct JitConfig {
pub enabled: bool,
pub hot_threshold: u32,
}Available on crate feature
jit only.Expand description
Trace JIT toggles for RuntimeConfig (feature = "jit").
Fields§
§enabled: boolWhen true, workers attempt compiled traces before interpreting.
hot_threshold: u32How many times a (function, pc) pair must run before compilation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JitConfig
impl RefUnwindSafe for JitConfig
impl Send for JitConfig
impl Sync for JitConfig
impl Unpin for JitConfig
impl UnsafeUnpin for JitConfig
impl UnwindSafe for JitConfig
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