pub trait AdapterCallback {
// Required methods
fn register_interfaces(
&self,
adapter: &Adapter,
id: NodeId,
interfaces: InterfaceSet,
);
fn unregister_interfaces(
&self,
adapter: &Adapter,
id: NodeId,
interfaces: InterfaceSet,
);
fn emit_event(&self, adapter: &Adapter, event: Event);
}