pub trait HandlerId:
Send
+ Sync
+ Debug {
// Required method
fn detach(&self);
}Expand description
Opaque handler ID for event handlers, once dropped handler will be removed automatically
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".