pub const fn is_thread(kind: ChannelType) -> Result<(), ChannelValidationError>
Expand description
Ensure a channel is a thread.
ยงErrors
Returns an error of type ChannelValidationErrorType::TypeInvalid
if the
channel is not a thread.
pub const fn is_thread(kind: ChannelType) -> Result<(), ChannelValidationError>
Ensure a channel is a thread.
Returns an error of type ChannelValidationErrorType::TypeInvalid
if the
channel is not a thread.