Skip to main content

effective_capabilities

Function effective_capabilities 

Source
pub fn effective_capabilities(
    model: &[String],
    handler: &[String],
) -> Result<Vec<String>, HandlerLoadError>
Expand description

Computes the effective capability set: the intersection of model and handler capabilities. Returns an error if the handler does not cover every model capability (first version rejects silent capability loss).