Enum cdrs::frame::Version [−][src]
pub enum Version { Request, Response, }
Frame's version
Variants
Request
Response
Methods
impl Version
[src]
impl Version
pub const BYTE_LENGTH: usize
BYTE_LENGTH: usize = 1
Number of bytes that represent Cassandra frame's version.
Trait Implementations
impl Debug for Version
[src]
impl Debug for Version
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 Version
[src]
impl PartialEq for Version
fn eq(&self, other: &Version) -> bool
[src]
fn eq(&self, other: &Version) -> 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 Version
[src]
impl AsByte for Version
impl From<Vec<u8>> for Version
[src]
impl From<Vec<u8>> for Version