Function miette::set_hook [−][src]
pub fn set_hook(
hook: Box<dyn Fn(&(dyn Diagnostic + 'static)) -> Box<dyn ReportHandler> + Sync + Send + 'static>
) -> Result<(), InstallError>
Expand description
Set the hook?
pub fn set_hook(
hook: Box<dyn Fn(&(dyn Diagnostic + 'static)) -> Box<dyn ReportHandler> + Sync + Send + 'static>
) -> Result<(), InstallError>
Set the hook?