#[repr(u32)]pub enum CassProtocolVersion {
CASS_PROTOCOL_VERSION_V1 = 1,
CASS_PROTOCOL_VERSION_V2 = 2,
CASS_PROTOCOL_VERSION_V3 = 3,
CASS_PROTOCOL_VERSION_V4 = 4,
CASS_PROTOCOL_VERSION_V5 = 5,
CASS_PROTOCOL_VERSION_DSEV1 = 65,
CASS_PROTOCOL_VERSION_DSEV2 = 66,
}
Variants§
CASS_PROTOCOL_VERSION_V1 = 1
< Deprecated
CASS_PROTOCOL_VERSION_V2 = 2
< Deprecated
CASS_PROTOCOL_VERSION_V3 = 3
CASS_PROTOCOL_VERSION_V4 = 4
CASS_PROTOCOL_VERSION_V5 = 5
CASS_PROTOCOL_VERSION_DSEV1 = 65
< Only supported when using the DSE driver with DataStax Enterprise
CASS_PROTOCOL_VERSION_DSEV2 = 66
< Only supported when using the DSE driver with DataStax Enterprise
Trait Implementations§
source§impl Clone for CassProtocolVersion_
impl Clone for CassProtocolVersion_
source§fn clone(&self) -> CassProtocolVersion_
fn clone(&self) -> CassProtocolVersion_
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 CassProtocolVersion_
impl Debug for CassProtocolVersion_
source§impl Hash for CassProtocolVersion_
impl Hash for CassProtocolVersion_
source§impl PartialEq for CassProtocolVersion_
impl PartialEq for CassProtocolVersion_
source§fn eq(&self, other: &CassProtocolVersion_) -> bool
fn eq(&self, other: &CassProtocolVersion_) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CassProtocolVersion_
impl Eq for CassProtocolVersion_
impl StructuralPartialEq for CassProtocolVersion_
Auto Trait Implementations§
impl Freeze for CassProtocolVersion_
impl RefUnwindSafe for CassProtocolVersion_
impl Send for CassProtocolVersion_
impl Sync for CassProtocolVersion_
impl Unpin for CassProtocolVersion_
impl UnwindSafe for CassProtocolVersion_
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