xmlStructuredErrorFunc

Type Alias xmlStructuredErrorFunc 

Source
pub type xmlStructuredErrorFunc = Option<unsafe extern "C" fn(userData: *mut c_void, error: *const xmlError)>;
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§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.