pub enum Cmd {
Join(String),
Part(Option<String>),
Quit,
Send(String),
Usage(&'static str),
}Expand description
what a line typed into the composer turns out to be.
Variants§
Join(String)
Part(Option<String>)
leave a named channel, or the focused one when None.
Quit
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 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