Enum scylla_cql::frame::request::RequestOpcode
source · #[repr(u8)]pub enum RequestOpcode {
Startup = 1,
Options = 5,
Query = 7,
Prepare = 9,
Execute = 10,
Register = 11,
Batch = 13,
AuthResponse = 15,
}
Variants§
Startup = 1
Options = 5
Query = 7
Prepare = 9
Execute = 10
Register = 11
Batch = 13
AuthResponse = 15
Trait Implementations§
source§impl Clone for RequestOpcode
impl Clone for RequestOpcode
source§fn clone(&self) -> RequestOpcode
fn clone(&self) -> RequestOpcode
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 RequestOpcode
impl Debug for RequestOpcode
source§impl Ord for RequestOpcode
impl Ord for RequestOpcode
source§fn cmp(&self, other: &RequestOpcode) -> Ordering
fn cmp(&self, other: &RequestOpcode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RequestOpcode
impl PartialEq for RequestOpcode
source§fn eq(&self, other: &RequestOpcode) -> bool
fn eq(&self, other: &RequestOpcode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RequestOpcode
impl PartialOrd for RequestOpcode
source§fn partial_cmp(&self, other: &RequestOpcode) -> Option<Ordering>
fn partial_cmp(&self, other: &RequestOpcode) -> 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 moresource§impl TryFrom<u8> for RequestOpcode
impl TryFrom<u8> for RequestOpcode
impl Copy for RequestOpcode
impl Eq for RequestOpcode
impl StructuralPartialEq for RequestOpcode
Auto Trait Implementations§
impl Freeze for RequestOpcode
impl RefUnwindSafe for RequestOpcode
impl Send for RequestOpcode
impl Sync for RequestOpcode
impl Unpin for RequestOpcode
impl UnwindSafe for RequestOpcode
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)