twilight_validate::channel

Function 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.