pub type AssertCallback = Option<unsafe extern "C" fn(message: *const c_char)>;Expand description
A typedef for the callback function for assert printing.
This can be used to re-route printing of assert messages from the FFX backend to another destination. For example instead of the default behaviour of printing the assert messages to the debugger’s TTY the message can be re-routed to a MessageBox in a GUI application.
@param [in] message The message generated by the assert.
Aliased Type§
pub enum AssertCallback {
None,
Some(unsafe extern "C" fn(*const i8)),
}