pub type ResetContext<'a> = GenericContext<'a>;Expand description
Functions that are safe to be called in Core::on_reset.
Aliased Type§
pub struct ResetContext<'a> {
pub(crate) environment_callback: &'a Option<unsafe extern "C" fn(u32, *mut c_void) -> bool>,
pub(crate) interfaces: Arc<RwLock<InterfaceList>>,
}Fields§
§environment_callback: &'a Option<unsafe extern "C" fn(u32, *mut c_void) -> bool>§interfaces: Arc<RwLock<InterfaceList>>