Function oc_wasm_safe::component::documentation_component_length
source · pub fn documentation_component_length(
address: &Address,
method: &str
) -> Result<usize>
Expand description
Returns the length, in bytes, of the documentation for a method on a component.
The address
parameter identifies the component by its UUID. The method
parameter identifies
the method by its name.
§Errors
NoSuchComponent
is returned if the component does not exist or is inaccessible.NoSuchMethod
is returned if the method does not exist on the component.