Ascii, Text, Varchar

Ascii, Text and Varchar are represented as &str and String

fn main() {
extern crate scylla;
use scylla::Session;
use std::error::Error;
async fn check_only_compiles(session: &Session) -> Result<(), Box<dyn Error>> {
use scylla::IntoTypedRows;

// Insert some text into the table as a &str
let to_insert_str: &str = "abcdef";
    .query("INSERT INTO keyspace.table (a) VALUES(?)", (to_insert_str,))

// Insert some text into the table as a String
let to_insert_string: String = "abcdef".to_string();
    .query("INSERT INTO keyspace.table (a) VALUES(?)", (to_insert_string,))

// Read ascii/text/varchar from the table
if let Some(rows) = session.query("SELECT a FROM keyspace.table", &[]).await?.rows {
    for row in rows.into_typed::<(String,)>() {
        let (text_value,): (String,) = row?;