watch

Function watch 

Source
pub fn watch<F>(method: F)
where F: SubmitMethod + 'static,
Expand description

This function is used to send debug information, using the submit() function from the method parameter when the Rust application panics.