pub fn validate_name_id<F>(
    name_validator: F,
    s: &str
) -> StdResult<(), &'static str>where
    F: Fn(&str) -> StdResult<(), &'static str>,
Expand description

The arg can be any of:

  • name
  • Local ID (32byte hex encoded string)