pub type CS101_ASDUHandler = Option<unsafe extern "C" fn(parameter: *mut c_void, connection: IMasterConnection, asdu: CS101_ASDU) -> bool>;Expand description
Handler for ASDUs that are not handled by other handlers (default handler)
Aliased Type§
pub enum CS101_ASDUHandler {
None,
Some(unsafe extern "C" fn(*mut c_void, *mut sIMasterConnection, *mut sCS101_ASDU) -> bool),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut c_void, *mut sIMasterConnection, *mut sCS101_ASDU) -> bool)
Some value of type T.