Type Alias xmlStructuredErrorFunc

Source
pub type xmlStructuredErrorFunc = Option<unsafe extern "C" fn(userData: *mut c_void, error: xmlErrorPtr)>;
Expand description

xmlStructuredErrorFunc: @userData: user provided data for the error callback @error: the error being raised.

Signature of the function to use when there is an error and the module handles the new error reporting mechanism.

Aliased Type§

enum xmlStructuredErrorFunc {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut _xmlError)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *mut _xmlError))

Some value of type T.