Searched refs:to_cstring (Results 1 – 2 of 2) sorted by relevance
108 fn to_cstring<T: AsRef<str>>(message: T) -> Option<CString> { in to_cstring() function150 Self::new_service_specific_error(err, message.and_then(to_cstring).as_deref()) in new_service_specific_error_str()172 Self::new_exception(exception, message.and_then(to_cstring).as_deref()) in new_exception_str()
216 fn to_cstring(&self) -> CString { in to_cstring() method354 Ok(overlaid_path.to_cstring()) in locate_overlay_target_path()