pub const fn user_limit(value: u16) -> Result<(), ChannelValidationError>
Expand description
Ensure a channel’s user limit is correct.
Must be at most 99.
§Errors
Returns an error of type UserLimitInvalid
if the user limit is invalid.
pub const fn user_limit(value: u16) -> Result<(), ChannelValidationError>
Ensure a channel’s user limit is correct.
Must be at most 99.
Returns an error of type UserLimitInvalid
if the user limit is invalid.