pub fn pin_limit(limit: u16) -> Result<(), ValidationError>Expand description
Ensure that the pin limit is correct.
The limit must be at least PIN_LIMIT_MIN and at most
PIN_LIMIT_MAX. This is based on the documented pin limit.
ยงErrors
Returns an error of type Pin if the limit is invalid.