[−][src]Enum ttv_chat::messages::Commands
An enum of all possible Twitch messages.
This is useful if you just want to subscribe to *all messages.
Variants (Non-exhaustive)
Raw(IrcMessage<'a>)
An raw event occured
IrcReady(IrcReady<'a>)
A capabilities event occured
Ready(Ready<'a>)
A ClearChat event occured
Cap(Cap<'a>)
A ClearMsg event occured
ClearChat(ClearChat<'a>)
A GlobalUserState event occured
ClearMsg(ClearMsg<'a>)
A HostTarget event occured
GlobalUserState(GlobalUserState<'a>)
A IrcReady event occured
HostTarget(HostTarget<'a>)
A Join event occured
Join(Join<'a>)
A Notice event occured
Notice(Notice<'a>)
A Part event occured
Part(Part<'a>)
A Ping event occured
Ping(Ping<'a>)
A Pong event occured
Pong(Pong<'a>)
A Privmsg event occured
Privmsg(Privmsg<'a>)
A Ready event occured
Reconnect(Reconnect<'a>)
A Reconnect event occured
RoomState(RoomState<'a>)
A RoomState event occured
UserNotice(UserNotice<'a>)
A UserNotice event occured
UserState(UserState<'a>)
A UserState event occured
Whisper(Whisper<'a>)
A Whisper event occured
Implementations
impl<'a> Commands<'a>
[src]
Trait Implementations
impl<'a> Clone for Commands<'a>
[src]
impl<'a> Debug for Commands<'a>
[src]
impl<'a> From<Cap<'a>> for Commands<'a>
[src]
impl<'a> From<ClearChat<'a>> for Commands<'a>
[src]
impl<'a> From<ClearMsg<'a>> for Commands<'a>
[src]
impl<'a> From<GlobalUserState<'a>> for Commands<'a>
[src]
fn from(msg: GlobalUserState<'a>) -> Commands<'a>
[src]
impl<'a> From<HostTarget<'a>> for Commands<'a>
[src]
fn from(msg: HostTarget<'a>) -> Commands<'a>
[src]
impl<'a> From<IrcMessage<'a>> for Commands<'a>
[src]
fn from(msg: IrcMessage<'a>) -> Commands<'a>
[src]
impl<'a> From<IrcReady<'a>> for Commands<'a>
[src]
impl<'a> From<Join<'a>> for Commands<'a>
[src]
impl<'a> From<Notice<'a>> for Commands<'a>
[src]
impl<'a> From<Part<'a>> for Commands<'a>
[src]
impl<'a> From<Ping<'a>> for Commands<'a>
[src]
impl<'a> From<Pong<'a>> for Commands<'a>
[src]
impl<'a> From<Privmsg<'a>> for Commands<'a>
[src]
impl<'a> From<Ready<'a>> for Commands<'a>
[src]
impl<'a> From<Reconnect<'a>> for Commands<'a>
[src]
impl<'a> From<RoomState<'a>> for Commands<'a>
[src]
impl<'a> From<UserNotice<'a>> for Commands<'a>
[src]
fn from(msg: UserNotice<'a>) -> Commands<'a>
[src]
impl<'a> From<UserState<'a>> for Commands<'a>
[src]
impl<'a> From<Whisper<'a>> for Commands<'a>
[src]
impl<'a> FromIrcMessage<'a> for Commands<'a>
[src]
type Error = MessageError
An error returned if this message could not be parsed.
fn from_irc(
msg: IrcMessage<'a>
) -> Result<Commands<'a>, <Commands<'a> as FromIrcMessage<'a>>::Error>
[src]
msg: IrcMessage<'a>
) -> Result<Commands<'a>, <Commands<'a> as FromIrcMessage<'a>>::Error>
fn into_inner(self) -> MaybeOwned<'a>
[src]
Consumes this wrapper and returns the raw MaybeOwned<'a>
impl<'a> IntoOwned<'a> for Commands<'a>
[src]
type Output = Commands<'static>
The output type
fn into_owned(self) -> <Commands<'a> as IntoOwned<'a>>::Output
[src]
impl<'a> PartialEq<Commands<'a>> for Commands<'a>
[src]
impl<'a> StructuralPartialEq for Commands<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Commands<'a>
impl<'a> Send for Commands<'a>
impl<'a> Sync for Commands<'a>
impl<'a> Unpin for Commands<'a>
impl<'a> UnwindSafe for Commands<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, T> IntoIrcMessage<'a> for T where
T: 'a + FromIrcMessage<'a>,
[src]
T: 'a + FromIrcMessage<'a>,
fn into_irc(self) -> IrcMessage<'a>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,