Skip to main content

register_backend_capabilities

Function register_backend_capabilities 

Source
pub fn register_backend_capabilities(caps: BackendCapabilities)
Expand description

Add a backend’s capabilities to the process-wide registry. Typically called by each backend’s init / probe path during app startup. Idempotent for the same (backend_id, device_location) is the caller’s responsibility — the registry happily appends duplicates and the lookup picks the first-registered match.