pub type IEC60870_RawMessageHandler = Option<unsafe extern "C" fn(parameter: *mut c_void, msg: *mut u8, msgSize: c_int, sent: bool)>;Expand description
Callback handler for sent and received messages
This callback handler provides access to the raw message buffer of received or sent messages. It can be used for debugging purposes. Usually it is not used nor required for applications.
§Arguments
parameter- user provided parametermsg- the message buffermsgSize- size of the messagesent- indicates if the message was sent or received
Aliased Type§
pub enum IEC60870_RawMessageHandler {
None,
Some(unsafe extern "C" fn(*mut c_void, *mut u8, i32, bool)),
}