cassandra-cpp 0.8.2

A Cassandra CQL driver, built on top of the DataStax C++ driver for performance and functionality.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// use std::ffi::CStr;

// use cassandra_sys::cass_write_type_string;

use cassandra_sys::CassWriteType;


/// The write type of a request
#[derive(Debug)]
pub struct WriteType(pub CassWriteType);

impl WriteType {
    //    ///Gets the string for a write type.
    //    pub fn write_type_string(&self) -> String {
    //        unsafe { CStr::from_ptr(cass_write_type_string(self.0)).to_str().unwrap().to_owned() }
    //    }
}