pub fn clone_optional_string(value: Option<&str>) -> Option<String>Expand description
Clones an optional string value into owned storage.
§Parameters
value: Input consumed bycrate::runtime::clone_optional_string.
§Returns
Returns Some when crate::runtime::clone_optional_string can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::clone_optional_string("value");§Related
crate::runtimefor adjacent helpers that share the same runtime surface.