fn validate_name_and_value( name: ByteString, value: ByteString, ) -> Result<(String, Vec<u8>), Error>