pub enum CommandCode {
Interest,
RespInterest,
}Variants§
Trait Implementations§
source§impl Clone for CommandCode
impl Clone for CommandCode
source§fn clone(&self) -> CommandCode
fn clone(&self) -> CommandCode
Returns a copy 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 CommandCode
impl Debug for CommandCode
source§impl PartialEq<CommandCode> for CommandCode
impl PartialEq<CommandCode> for CommandCode
source§fn eq(&self, other: &CommandCode) -> bool
fn eq(&self, other: &CommandCode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<CommandCode> for CommandCode
impl PartialOrd<CommandCode> for CommandCode
source§fn partial_cmp(&self, other: &CommandCode) -> Option<Ordering>
fn partial_cmp(&self, other: &CommandCode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more