Skip to main content

job_worker_strdup_local

Function job_worker_strdup_local 

Source
pub fn job_worker_strdup_local(value: Option<&str>) -> Option<String>
Expand description

Makes an owned Rust copy of an optional C-style string value.

§Parameters

§Returns

Returns Some when crate::runtime::job::job_worker_strdup_local can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::job::job_worker_strdup_local("value");