pub enum Cmd {
}Expand description
what a line typed into the composer turns out to be.
Variants§
Join(String)
Open(String)
/open <channel> — look at a stream in the one unsaved temp tab.
Keep
/keep — promote the temp tab to a saved one.
Part(Option<String>)
leave a named channel, or the focused one when None.
Quit
Tab(TabKind)
open (or focus) a virtual tab: /mentions, /feed, /whispers.
Whisper(String, String)
/w <user> <text> — a twitch whisper through heatsync.
Dm(String, String)
/dm <user> <text> — a heatsync direct message.
Op(String)
/op <text> — post to the heatsync feed.
Re(String)
/re <text> — reply to the last OP you posted.
/sharelayout (/sl, /share) — copy the open channels as a heatsync.org/m/ link.
Layout(String)
/layout <link> — open the channels in a share link.
Send(String)
send these bytes to the platform as an ordinary message.
Usage(&'static str)
a client command we recognise but that was typed without its argument.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Cmd
impl Freeze for Cmd
impl RefUnwindSafe for Cmd
impl Send for Cmd
impl Sync for Cmd
impl Unpin for Cmd
impl UnsafeUnpin for Cmd
impl UnwindSafe for Cmd
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more