sz_configtool_lib/functions/
candidate.rs1use crate::error::SzConfigError;
10use serde_json::Value;
11
12pub fn add_candidate_function(
14 _config_json: &str,
15 _rtype_code: &str,
16 _candidate_func: &str,
17) -> Result<(String, Value), SzConfigError> {
18 Err(SzConfigError::not_implemented(
19 "Candidate functions are not yet fully implemented",
20 ))
21}
22
23pub fn delete_candidate_function(
25 _config_json: &str,
26 _rtype_code: &str,
27) -> Result<(String, Value), SzConfigError> {
28 Err(SzConfigError::not_implemented(
29 "Candidate functions are not yet fully implemented",
30 ))
31}
32
33pub fn get_candidate_function(
35 _config_json: &str,
36 _rtype_code: &str,
37) -> Result<Value, SzConfigError> {
38 Err(SzConfigError::not_implemented(
39 "Candidate functions are not yet fully implemented",
40 ))
41}
42
43pub fn list_candidate_functions(_config_json: &str) -> Result<Vec<Value>, SzConfigError> {
45 Err(SzConfigError::not_implemented(
46 "Candidate functions are not yet fully implemented",
47 ))
48}
49
50pub fn set_candidate_function(
52 _config_json: &str,
53 _rtype_code: &str,
54 _candidate_func: Option<&str>,
55) -> Result<(String, Value), SzConfigError> {
56 Err(SzConfigError::not_implemented(
57 "Candidate functions are not yet fully implemented",
58 ))
59}
60
61pub fn remove_candidate_function(
63 _config_json: &str,
64 _rtype_code: &str,
65) -> Result<(String, Value), SzConfigError> {
66 Err(SzConfigError::not_implemented(
67 "Candidate functions are not yet fully implemented",
68 ))
69}