Skip to main content

validate_key

Function validate_key 

Source
pub fn validate_key(
    table: MappingTable,
    key: &str,
) -> Result<(), HttpErrorMappingError>
Expand description

Reject a blank table key.

ยงErrors

Returns HttpErrorMappingError::BlankKey when key is empty or whitespace-only.