pub fn check_keys<T: Keyed>(
records: &[T],
max: usize,
) -> Result<(), SourceError>Expand description
Checks that no key is used twice and that there are at most max records. A provider’s
own validation calls this first.
§Errors
SourceError::Invalid naming which bound was broken, never the key.