CS101_ASDUHandler

Type Alias CS101_ASDUHandler 

Source
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§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.