pub trait BackgroundHangMonitor {
    // Required methods
    fn notify_activity(&self, annotation: HangAnnotation);
    fn notify_wait(&self);
    fn unregister(&self);
}
Expand description

Proxy methods to communicate with the background hang monitor

Required Methods§

source

fn notify_activity(&self, annotation: HangAnnotation)

Notify the start of handling an event.

source

fn notify_wait(&self)

Notify the start of waiting for a new event to come in.

source

fn unregister(&self)

Unregister the component from monitor.

Implementors§