Trait miri::concurrency::thread::MachineCallback
source · pub trait MachineCallback<'mir, 'tcx>: VisitTags {
// Required method
fn call(
&self,
ecx: &mut InterpCx<'mir, 'tcx, MiriMachine<'mir, 'tcx>>
) -> InterpResult<'tcx>;
}
Expand description
Trait for callbacks that can be executed when some event happens, such as after a timeout.