CS101_InterrogationHandler

Type Alias CS101_InterrogationHandler 

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

Handler for interrogation command (C_IC_NA_1 - 100).

Aliased Type§

pub enum CS101_InterrogationHandler {
    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.