pub fn topic(value: impl AsRef<str>) -> Result<(), ChannelValidationError>
Expand description
Ensure a channel’s topic’s length is correct.
§Errors
Returns an error of type TopicInvalid
if the
topic is invalid.
pub fn topic(value: impl AsRef<str>) -> Result<(), ChannelValidationError>
Ensure a channel’s topic’s length is correct.
Returns an error of type TopicInvalid
if the
topic is invalid.