Function twilight_validate::channel::bitrate

source ·
pub const fn bitrate(value: u32) -> Result<(), ChannelValidationError>
Expand description

Ensure a channel’s bitrate is collect.

Must be at least 8000.

§Errors

Returns an error of type BitrateInvalid if the bitrate is invalid.