Function seaplane_cli::cli::validator::validate_name_id
source · pub fn validate_name_id<F>(
name_validator: F,
s: &str
) -> StdResult<String, &'static str>where
F: Fn(&str) -> StdResult<String, &'static str>,Expand description
The arg can be any of:
- name
- Local ID (32byte hex encoded string)