validate_acl_entry

Function validate_acl_entry 

Source
pub fn validate_acl_entry(entry: &str) -> Result<(), AclError>
Expand description

Validate a single address_match_list entry.

ยงErrors

Returns AclError if the entry is empty, exceeds MAX_ACL_ENTRY_LEN, or does not match one of the accepted forms.