pub enum Opcode {
Query = 0,
RQuery = 1,
Status = 2,
Reserved = 3,
}
Expand description
Operation code for describing the purpose of the message
Variants§
Trait Implementations§
source§impl Ord for Opcode
impl Ord for Opcode
source§impl PartialEq for Opcode
impl PartialEq for Opcode
source§impl PartialOrd for Opcode
impl PartialOrd for Opcode
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 moreimpl Copy for Opcode
impl Eq for Opcode
impl StructuralPartialEq for Opcode
Auto Trait Implementations§
impl Freeze for Opcode
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnwindSafe for Opcode
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