#[repr(C)]pub struct NativePreemptionConfig {
pub native_duration: kernel_old_timeval,
pub sim_duration: SimulationTime,
}
Fields§
§native_duration: kernel_old_timeval
Maximum wall-clock time to allow managed code to run before preempting to move time forward.
sim_duration: SimulationTime
Amount of simulation-time to move forward after native_duration_micros
has elapsed without returning control to Shadow.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NativePreemptionConfig
impl RefUnwindSafe for NativePreemptionConfig
impl Send for NativePreemptionConfig
impl Sync for NativePreemptionConfig
impl Unpin for NativePreemptionConfig
impl UnwindSafe for NativePreemptionConfig
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