Skip to main content

validate_capabilities

Function validate_capabilities 

Source
pub fn validate_capabilities(capabilities: &[String]) -> Result<()>
Expand description

Rejects a capability list that no version 1 endpoint could honor.

Only the base methods are required. Nothing here constrains the mutation methods against each other: an endpoint that can store but not remove is a store that only appends, which is a real backend and not a malformed advertisement.