Skip to main content

capabilities

Function capabilities 

Source
pub fn capabilities(bytes: &[u8]) -> Result<Capabilities, ChestError>
Expand description

What the component bytes uses: the features its yapi:capabilities section lists, in any of its modules, then the WASI interfaces the component itself imports. Err for bytes that are not a WebAssembly component.