CS101_ReadHandler

Type Alias CS101_ReadHandler 

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

Handler for read command (C_RD_NA_1 - 102)

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.