[−][src]Trait twitchchat::IntoChannel
A trait to convert types into Channel
let channel: Channel = "museun".into_channel().unwrap(); assert_eq!(*channel, "#museun"); let channel: Channel = "#museun".into_channel().unwrap(); assert_eq!(*channel, "#museun");
Required methods
fn into_channel(self) -> Result<Channel, Error>
Tries to convert this type a channel
Implementors
impl<T> IntoChannel for T where
T: ToString,
[src]
T: ToString,