pub const fn rate_limit_per_user(
value: u16,
) -> Result<(), ChannelValidationError>
Expand description
Ensure a channel’s rate limit per user is correct.
The value must be at most CHANNEL_RATE_LIMIT_PER_USER_MAX
. This is based
on this documentation entry.
§Errors
Returns an error of type RateLimitPerUserInvalid
if the rate limit is
invalid.