Skip to main content

with_resource_value

Function with_resource_value 

Source
pub fn with_resource_value(message: &mut Finished, outcome: Result<Value, ()>)
Expand description

A CommandResource setup’s result: on success its output is the value it reported, not its ProcessResult; with nothing reported (and a value declared) it fails.