Type Definition gnunet_sys::GNUNET_MQ_ErrorHandler[][src]

type GNUNET_MQ_ErrorHandler = Option<unsafe extern "C" fn(cls: *mut c_void, error: GNUNET_MQ_Error)>;

Generic error handler, called with the appropriate error code and the same closure specified at the creation of the message queue. Not every message queue implementation supports an error handler.

@param cls closure @param error error code