Skip to main content

node_component

Function node_component 

Source
pub fn node_component(
    handle: u64,
    name: &str,
) -> Result<Option<Vec<(String, String)>>, String>
Expand description

n.component(name): that component’s public fields as a value map. Err names an unknown / non-whitelisted component; Ok(None) means the component is whitelisted but absent from this node.