pub enum ClientCommand {
Connect,
Send,
Subscribe,
Unsubscribe,
Ack,
Nack,
Begin,
Commit,
Abort,
Disconnect,
}
Variants§
Trait Implementations§
Source§impl Clone for ClientCommand
impl Clone for ClientCommand
Source§fn clone(&self) -> ClientCommand
fn clone(&self) -> ClientCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ClientCommand
impl Debug for ClientCommand
Source§impl From<ClientCommand> for &str
impl From<ClientCommand> for &str
Source§fn from(value: ClientCommand) -> Self
fn from(value: ClientCommand) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ClientCommand
impl PartialEq for ClientCommand
Source§impl TryFrom<&str> for ClientCommand
impl TryFrom<&str> for ClientCommand
impl Command for ClientCommand
impl Copy for ClientCommand
impl StructuralPartialEq for ClientCommand
Auto Trait Implementations§
impl Freeze for ClientCommand
impl RefUnwindSafe for ClientCommand
impl Send for ClientCommand
impl Sync for ClientCommand
impl Unpin for ClientCommand
impl UnwindSafe for ClientCommand
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