CS101_ResetProcessHandler

Type Alias CS101_ResetProcessHandler 

Source
pub type CS101_ResetProcessHandler = Option<unsafe extern "C" fn(parameter: *mut c_void, connection: IMasterConnection, asdu: CS101_ASDU, qrp: u8) -> bool>;
Expand description

Handler for reset process command (C_RP_NA_1 - 105)

Aliased Type§

pub enum CS101_ResetProcessHandler {
    None,
    Some(unsafe extern "C" fn(*mut c_void, *mut sIMasterConnection, *mut sCS101_ASDU, u8) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, *mut sIMasterConnection, *mut sCS101_ASDU, u8) -> bool)

Some value of type T.