Enum cdrs::frame::Opcode [−][src]
pub enum Opcode { Error, Startup, Ready, Authenticate, Options, Supported, Query, Result, Prepare, Execute, Register, Event, Batch, AuthChallenge, AuthResponse, AuthSuccess, }
Variants
Error
Startup
Ready
Authenticate
Options
Supported
Query
Result
Prepare
Execute
Register
Event
Batch
AuthChallenge
AuthResponse
AuthSuccess
Methods
impl Opcode
[src]
impl Opcode
pub const BYTE_LENGTH: usize
BYTE_LENGTH: usize = 1
Trait Implementations
impl Debug for Opcode
[src]
impl Debug for Opcode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Opcode
[src]
impl PartialEq for Opcode
fn eq(&self, other: &Opcode) -> bool
[src]
fn eq(&self, other: &Opcode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl AsByte for Opcode
[src]
impl AsByte for Opcode
impl From<u8> for Opcode
[src]
impl From<u8> for Opcode