pub fn capture_trimmed(text: &str) -> Option<String>Expand description
Trims a captured command-like value while rejecting control characters.
§Parameters
text: Input consumed bycrate::runtime::ops_bridge::capture_trimmed.
§Returns
Returns Some when crate::runtime::ops_bridge::capture_trimmed can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::ops_bridge::capture_trimmed.
§Examples
ⓘ
let _result = pharos_native::runtime::ops_bridge::capture_trimmed("{}");§Related
crate::runtime::ops_bridgefor adjacent helpers that share the same runtime surface.