pub enum SendCommand {
TALLY,
FUNCTION(String, Option<String>),
ACTS(String, Option<usize>),
XML,
XMLTEXT(String),
SUBSCRIBE(SUBSCRIBECommand),
UNSUBSCRIBE(SUBSCRIBECommand),
QUIT,
VERSION,
RAW(String),
}Variants§
TALLY
FUNCTION(String, Option<String>)
ACTS(String, Option<usize>)
XML
XMLTEXT(String)
SUBSCRIBE(SUBSCRIBECommand)
UNSUBSCRIBE(SUBSCRIBECommand)
QUIT
VERSION
RAW(String)
Trait Implementations§
Source§impl From<SendCommand> for Vec<u8>
impl From<SendCommand> for Vec<u8>
Source§fn from(command: SendCommand) -> Self
fn from(command: SendCommand) -> Self
Converts to this type from the input type.
impl Send for SendCommand
impl Sync for SendCommand
Auto Trait Implementations§
impl Freeze for SendCommand
impl RefUnwindSafe for SendCommand
impl Unpin for SendCommand
impl UnsafeUnpin for SendCommand
impl UnwindSafe for SendCommand
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