ScyllaDB

Struct ScyllaDB 

Source
pub struct ScyllaDB;
Expand description

ScyllaDB database driver.

Trait Implementations§

Source§

impl Database for ScyllaDB

Source§

const NAME: &'static str = "ScyllaDB"

The display name for this database driver.
Source§

const URL_SCHEMES: &'static [&'static str]

The schemes for database URLs that should match this driver.
Source§

type Connection = ScyllaDBConnection

The concrete Connection implementation for this database.
Source§

type TransactionManager = ScyllaDBTransactionManager

The concrete TransactionManager implementation for this database.
Source§

type Row = ScyllaDBRow

The concrete Row implementation for this database.
Source§

type QueryResult = ScyllaDBQueryResult

The concrete QueryResult implementation for this database.
Source§

type Column = ScyllaDBColumn

The concrete Column implementation for this database.
Source§

type TypeInfo = ScyllaDBTypeInfo

The concrete TypeInfo implementation for this database.
Source§

type Value = ScyllaDBValue

The concrete type used to hold an owned copy of the not-yet-decoded value that was received from the database.
Source§

type ValueRef<'r> = ScyllaDBValueRef<'r>

The concrete type used to hold a reference to the not-yet-decoded value that has just been received from the database.
Source§

type Arguments<'q> = ScyllaDBArguments

The concrete Arguments implementation for this database.
Source§

type ArgumentBuffer<'q> = ScyllaDBArgumentBuffer

The concrete type used as a buffer for arguments while encoding.
Source§

type Statement<'q> = ScyllaDBStatement<'q>

The concrete Statement implementation for this database.
Source§

impl Debug for ScyllaDB

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'_, ScyllaDB> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T0: for<'a> DeserializeValue<'a, 'a>, T1: for<'a> DeserializeValue<'a, 'a>, T2: for<'a> DeserializeValue<'a, 'a>, T3: for<'a> DeserializeValue<'a, 'a>, T4: for<'a> DeserializeValue<'a, 'a>, T5: for<'a> DeserializeValue<'a, 'a>, T6: for<'a> DeserializeValue<'a, 'a>, T7: for<'a> DeserializeValue<'a, 'a>, T8: for<'a> DeserializeValue<'a, 'a>, T9: for<'a> DeserializeValue<'a, 'a>, T10: for<'a> DeserializeValue<'a, 'a>, T11: for<'a> DeserializeValue<'a, 'a>, T12: for<'a> DeserializeValue<'a, 'a>, T13: for<'a> DeserializeValue<'a, 'a>, T14: for<'a> DeserializeValue<'a, 'a>, T15: for<'a> DeserializeValue<'a, 'a>,

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15), Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'_, ScyllaDB> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T1: for<'a> DeserializeValue<'a, 'a>, T2: for<'a> DeserializeValue<'a, 'a>, T3: for<'a> DeserializeValue<'a, 'a>, T4: for<'a> DeserializeValue<'a, 'a>, T5: for<'a> DeserializeValue<'a, 'a>, T6: for<'a> DeserializeValue<'a, 'a>, T7: for<'a> DeserializeValue<'a, 'a>, T8: for<'a> DeserializeValue<'a, 'a>, T9: for<'a> DeserializeValue<'a, 'a>, T10: for<'a> DeserializeValue<'a, 'a>, T11: for<'a> DeserializeValue<'a, 'a>, T12: for<'a> DeserializeValue<'a, 'a>, T13: for<'a> DeserializeValue<'a, 'a>, T14: for<'a> DeserializeValue<'a, 'a>, T15: for<'a> DeserializeValue<'a, 'a>,

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15), Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl<T10, T11, T12, T13, T14, T15> Decode<'_, ScyllaDB> for (T10, T11, T12, T13, T14, T15)
where T10: for<'a> DeserializeValue<'a, 'a>, T11: for<'a> DeserializeValue<'a, 'a>, T12: for<'a> DeserializeValue<'a, 'a>, T13: for<'a> DeserializeValue<'a, 'a>, T14: for<'a> DeserializeValue<'a, 'a>, T15: for<'a> DeserializeValue<'a, 'a>,

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<(T10, T11, T12, T13, T14, T15), Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl<T11, T12, T13, T14, T15> Decode<'_, ScyllaDB> for (T11, T12, T13, T14, T15)
where T11: for<'a> DeserializeValue<'a, 'a>, T12: for<'a> DeserializeValue<'a, 'a>, T13: for<'a> DeserializeValue<'a, 'a>, T14: for<'a> DeserializeValue<'a, 'a>, T15: for<'a> DeserializeValue<'a, 'a>,

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<(T11, T12, T13, T14, T15), Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl<T12, T13, T14, T15> Decode<'_, ScyllaDB> for (T12, T13, T14, T15)
where T12: for<'a> DeserializeValue<'a, 'a>, T13: for<'a> DeserializeValue<'a, 'a>, T14: for<'a> DeserializeValue<'a, 'a>, T15: for<'a> DeserializeValue<'a, 'a>,

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<(T12, T13, T14, T15), Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl<T13, T14, T15> Decode<'_, ScyllaDB> for (T13, T14, T15)
where T13: for<'a> DeserializeValue<'a, 'a>, T14: for<'a> DeserializeValue<'a, 'a>, T15: for<'a> DeserializeValue<'a, 'a>,

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<(T13, T14, T15), Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl<T14, T15> Decode<'_, ScyllaDB> for (T14, T15)
where T14: for<'a> DeserializeValue<'a, 'a>, T15: for<'a> DeserializeValue<'a, 'a>,

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<(T14, T15), Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl<T15> Decode<'_, ScyllaDB> for (T15,)
where T15: for<'a> DeserializeValue<'a, 'a>,

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<(T15,), Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl<T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'_, ScyllaDB> for (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T2: for<'a> DeserializeValue<'a, 'a>, T3: for<'a> DeserializeValue<'a, 'a>, T4: for<'a> DeserializeValue<'a, 'a>, T5: for<'a> DeserializeValue<'a, 'a>, T6: for<'a> DeserializeValue<'a, 'a>, T7: for<'a> DeserializeValue<'a, 'a>, T8: for<'a> DeserializeValue<'a, 'a>, T9: for<'a> DeserializeValue<'a, 'a>, T10: for<'a> DeserializeValue<'a, 'a>, T11: for<'a> DeserializeValue<'a, 'a>, T12: for<'a> DeserializeValue<'a, 'a>, T13: for<'a> DeserializeValue<'a, 'a>, T14: for<'a> DeserializeValue<'a, 'a>, T15: for<'a> DeserializeValue<'a, 'a>,

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<(T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15), Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl<T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'_, ScyllaDB> for (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T3: for<'a> DeserializeValue<'a, 'a>, T4: for<'a> DeserializeValue<'a, 'a>, T5: for<'a> DeserializeValue<'a, 'a>, T6: for<'a> DeserializeValue<'a, 'a>, T7: for<'a> DeserializeValue<'a, 'a>, T8: for<'a> DeserializeValue<'a, 'a>, T9: for<'a> DeserializeValue<'a, 'a>, T10: for<'a> DeserializeValue<'a, 'a>, T11: for<'a> DeserializeValue<'a, 'a>, T12: for<'a> DeserializeValue<'a, 'a>, T13: for<'a> DeserializeValue<'a, 'a>, T14: for<'a> DeserializeValue<'a, 'a>, T15: for<'a> DeserializeValue<'a, 'a>,

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<(T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15), Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl<T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'_, ScyllaDB> for (T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T4: for<'a> DeserializeValue<'a, 'a>, T5: for<'a> DeserializeValue<'a, 'a>, T6: for<'a> DeserializeValue<'a, 'a>, T7: for<'a> DeserializeValue<'a, 'a>, T8: for<'a> DeserializeValue<'a, 'a>, T9: for<'a> DeserializeValue<'a, 'a>, T10: for<'a> DeserializeValue<'a, 'a>, T11: for<'a> DeserializeValue<'a, 'a>, T12: for<'a> DeserializeValue<'a, 'a>, T13: for<'a> DeserializeValue<'a, 'a>, T14: for<'a> DeserializeValue<'a, 'a>, T15: for<'a> DeserializeValue<'a, 'a>,

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<(T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15), Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl<T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'_, ScyllaDB> for (T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T5: for<'a> DeserializeValue<'a, 'a>, T6: for<'a> DeserializeValue<'a, 'a>, T7: for<'a> DeserializeValue<'a, 'a>, T8: for<'a> DeserializeValue<'a, 'a>, T9: for<'a> DeserializeValue<'a, 'a>, T10: for<'a> DeserializeValue<'a, 'a>, T11: for<'a> DeserializeValue<'a, 'a>, T12: for<'a> DeserializeValue<'a, 'a>, T13: for<'a> DeserializeValue<'a, 'a>, T14: for<'a> DeserializeValue<'a, 'a>, T15: for<'a> DeserializeValue<'a, 'a>,

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<(T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15), Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl<T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'_, ScyllaDB> for (T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T6: for<'a> DeserializeValue<'a, 'a>, T7: for<'a> DeserializeValue<'a, 'a>, T8: for<'a> DeserializeValue<'a, 'a>, T9: for<'a> DeserializeValue<'a, 'a>, T10: for<'a> DeserializeValue<'a, 'a>, T11: for<'a> DeserializeValue<'a, 'a>, T12: for<'a> DeserializeValue<'a, 'a>, T13: for<'a> DeserializeValue<'a, 'a>, T14: for<'a> DeserializeValue<'a, 'a>, T15: for<'a> DeserializeValue<'a, 'a>,

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<(T6, T7, T8, T9, T10, T11, T12, T13, T14, T15), Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl<T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'_, ScyllaDB> for (T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T7: for<'a> DeserializeValue<'a, 'a>, T8: for<'a> DeserializeValue<'a, 'a>, T9: for<'a> DeserializeValue<'a, 'a>, T10: for<'a> DeserializeValue<'a, 'a>, T11: for<'a> DeserializeValue<'a, 'a>, T12: for<'a> DeserializeValue<'a, 'a>, T13: for<'a> DeserializeValue<'a, 'a>, T14: for<'a> DeserializeValue<'a, 'a>, T15: for<'a> DeserializeValue<'a, 'a>,

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<(T7, T8, T9, T10, T11, T12, T13, T14, T15), Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl<T8, T9, T10, T11, T12, T13, T14, T15> Decode<'_, ScyllaDB> for (T8, T9, T10, T11, T12, T13, T14, T15)
where T8: for<'a> DeserializeValue<'a, 'a>, T9: for<'a> DeserializeValue<'a, 'a>, T10: for<'a> DeserializeValue<'a, 'a>, T11: for<'a> DeserializeValue<'a, 'a>, T12: for<'a> DeserializeValue<'a, 'a>, T13: for<'a> DeserializeValue<'a, 'a>, T14: for<'a> DeserializeValue<'a, 'a>, T15: for<'a> DeserializeValue<'a, 'a>,

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<(T8, T9, T10, T11, T12, T13, T14, T15), Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl<T9, T10, T11, T12, T13, T14, T15> Decode<'_, ScyllaDB> for (T9, T10, T11, T12, T13, T14, T15)
where T9: for<'a> DeserializeValue<'a, 'a>, T10: for<'a> DeserializeValue<'a, 'a>, T11: for<'a> DeserializeValue<'a, 'a>, T12: for<'a> DeserializeValue<'a, 'a>, T13: for<'a> DeserializeValue<'a, 'a>, T14: for<'a> DeserializeValue<'a, 'a>, T15: for<'a> DeserializeValue<'a, 'a>,

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<(T9, T10, T11, T12, T13, T14, T15), Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Counter

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Counter, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for CqlDate

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<CqlDate, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for CqlDuration

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<CqlDuration, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for CqlTime

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<CqlTime, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for CqlTimestamp

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<CqlTimestamp, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for CqlTimeuuid

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<CqlTimeuuid, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for HashMap<String, IpAddr>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<HashMap<String, IpAddr>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for HashMap<String, String>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<HashMap<String, String>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for HashMap<String, Uuid>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<HashMap<String, Uuid>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for HashMap<String, bool>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<HashMap<String, bool>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for HashMap<String, f32>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<HashMap<String, f32>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for HashMap<String, f64>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<HashMap<String, f64>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for HashMap<String, i16>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<HashMap<String, i16>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for HashMap<String, i32>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<HashMap<String, i32>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for HashMap<String, i64>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<HashMap<String, i64>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for HashMap<String, i8>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<HashMap<String, i8>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for IpAddr

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<IpAddr, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for String

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<String, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Uuid

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Uuid, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Vec<CqlDate>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Vec<CqlDate>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Vec<CqlDuration>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Vec<CqlDuration>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Vec<CqlTime>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Vec<CqlTime>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Vec<CqlTimestamp>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Vec<CqlTimestamp>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Vec<CqlTimeuuid>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Vec<CqlTimeuuid>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Vec<IpAddr>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Vec<IpAddr>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Vec<String>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Vec<String>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Vec<Uuid>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Vec<Uuid>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Vec<Vec<u8>>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Vec<Vec<u8>>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Vec<bool>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Vec<bool>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Vec<f32>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Vec<f32>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Vec<f64>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Vec<f64>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Vec<i16>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Vec<i16>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Vec<i32>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Vec<i32>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Vec<i64>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Vec<i64>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Vec<i8>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Vec<i8>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for Vec<u8>

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<Vec<u8>, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for bool

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<bool, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for f32

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<f32, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for f64

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<f64, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for i16

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<i16, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for i32

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<i32, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for i64

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<i64, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, ScyllaDB> for i8

Source§

fn decode( value: ScyllaDBValueRef<'_>, ) -> Result<i8, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, ScyllaDB> for &'r str

Source§

fn decode( value: ScyllaDBValueRef<'r>, ) -> Result<&'r str, Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
Source§

impl Encode<'_, ScyllaDB> for &[&str]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for &[CqlDate]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for &[CqlDuration]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for &[CqlTime]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for &[CqlTimestamp]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for &[CqlTimeuuid]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for &[IpAddr]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for &[String]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for &[Uuid]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for &[bool]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for &[f32]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for &[f64]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for &[i16]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for &[i32]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for &[i64]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for &[i8]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for &[u8]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize> Encode<'_, ScyllaDB> for [&str; N]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize, const M: usize> Encode<'_, ScyllaDB> for [[u8; N]; M]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize> Encode<'_, ScyllaDB> for [CqlDate; N]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize> Encode<'_, ScyllaDB> for [CqlDuration; N]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize> Encode<'_, ScyllaDB> for [CqlTime; N]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize> Encode<'_, ScyllaDB> for [CqlTimestamp; N]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize> Encode<'_, ScyllaDB> for [CqlTimeuuid; N]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize> Encode<'_, ScyllaDB> for [IpAddr; N]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize> Encode<'_, ScyllaDB> for [String; N]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize> Encode<'_, ScyllaDB> for [Uuid; N]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize> Encode<'_, ScyllaDB> for [bool; N]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize> Encode<'_, ScyllaDB> for [f32; N]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize> Encode<'_, ScyllaDB> for [f64; N]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize> Encode<'_, ScyllaDB> for [i16; N]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize> Encode<'_, ScyllaDB> for [i32; N]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize> Encode<'_, ScyllaDB> for [i64; N]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize> Encode<'_, ScyllaDB> for [i8; N]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<const N: usize> Encode<'_, ScyllaDB> for [u8; N]

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Encode<'_, ScyllaDB> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T0: SerializeValue + Clone + Send + Sync + 'static, T1: SerializeValue + Clone + Send + Sync + 'static, T2: SerializeValue + Clone + Send + Sync + 'static, T3: SerializeValue + Clone + Send + Sync + 'static, T4: SerializeValue + Clone + Send + Sync + 'static, T5: SerializeValue + Clone + Send + Sync + 'static, T6: SerializeValue + Clone + Send + Sync + 'static, T7: SerializeValue + Clone + Send + Sync + 'static, T8: SerializeValue + Clone + Send + Sync + 'static, T9: SerializeValue + Clone + Send + Sync + 'static, T10: SerializeValue + Clone + Send + Sync + 'static, T11: SerializeValue + Clone + Send + Sync + 'static, T12: SerializeValue + Clone + Send + Sync + 'static, T13: SerializeValue + Clone + Send + Sync + 'static, T14: SerializeValue + Clone + Send + Sync + 'static, T15: SerializeValue + Clone + Send + Sync + 'static,

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Encode<'_, ScyllaDB> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T1: SerializeValue + Clone + Send + Sync + 'static, T2: SerializeValue + Clone + Send + Sync + 'static, T3: SerializeValue + Clone + Send + Sync + 'static, T4: SerializeValue + Clone + Send + Sync + 'static, T5: SerializeValue + Clone + Send + Sync + 'static, T6: SerializeValue + Clone + Send + Sync + 'static, T7: SerializeValue + Clone + Send + Sync + 'static, T8: SerializeValue + Clone + Send + Sync + 'static, T9: SerializeValue + Clone + Send + Sync + 'static, T10: SerializeValue + Clone + Send + Sync + 'static, T11: SerializeValue + Clone + Send + Sync + 'static, T12: SerializeValue + Clone + Send + Sync + 'static, T13: SerializeValue + Clone + Send + Sync + 'static, T14: SerializeValue + Clone + Send + Sync + 'static, T15: SerializeValue + Clone + Send + Sync + 'static,

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<T10, T11, T12, T13, T14, T15> Encode<'_, ScyllaDB> for (T10, T11, T12, T13, T14, T15)
where T10: SerializeValue + Clone + Send + Sync + 'static, T11: SerializeValue + Clone + Send + Sync + 'static, T12: SerializeValue + Clone + Send + Sync + 'static, T13: SerializeValue + Clone + Send + Sync + 'static, T14: SerializeValue + Clone + Send + Sync + 'static, T15: SerializeValue + Clone + Send + Sync + 'static,

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<T11, T12, T13, T14, T15> Encode<'_, ScyllaDB> for (T11, T12, T13, T14, T15)
where T11: SerializeValue + Clone + Send + Sync + 'static, T12: SerializeValue + Clone + Send + Sync + 'static, T13: SerializeValue + Clone + Send + Sync + 'static, T14: SerializeValue + Clone + Send + Sync + 'static, T15: SerializeValue + Clone + Send + Sync + 'static,

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<T12, T13, T14, T15> Encode<'_, ScyllaDB> for (T12, T13, T14, T15)
where T12: SerializeValue + Clone + Send + Sync + 'static, T13: SerializeValue + Clone + Send + Sync + 'static, T14: SerializeValue + Clone + Send + Sync + 'static, T15: SerializeValue + Clone + Send + Sync + 'static,

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<T13, T14, T15> Encode<'_, ScyllaDB> for (T13, T14, T15)
where T13: SerializeValue + Clone + Send + Sync + 'static, T14: SerializeValue + Clone + Send + Sync + 'static, T15: SerializeValue + Clone + Send + Sync + 'static,

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<T14, T15> Encode<'_, ScyllaDB> for (T14, T15)
where T14: SerializeValue + Clone + Send + Sync + 'static, T15: SerializeValue + Clone + Send + Sync + 'static,

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<T15> Encode<'_, ScyllaDB> for (T15,)
where T15: SerializeValue + Clone + Send + Sync + 'static,

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Encode<'_, ScyllaDB> for (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T2: SerializeValue + Clone + Send + Sync + 'static, T3: SerializeValue + Clone + Send + Sync + 'static, T4: SerializeValue + Clone + Send + Sync + 'static, T5: SerializeValue + Clone + Send + Sync + 'static, T6: SerializeValue + Clone + Send + Sync + 'static, T7: SerializeValue + Clone + Send + Sync + 'static, T8: SerializeValue + Clone + Send + Sync + 'static, T9: SerializeValue + Clone + Send + Sync + 'static, T10: SerializeValue + Clone + Send + Sync + 'static, T11: SerializeValue + Clone + Send + Sync + 'static, T12: SerializeValue + Clone + Send + Sync + 'static, T13: SerializeValue + Clone + Send + Sync + 'static, T14: SerializeValue + Clone + Send + Sync + 'static, T15: SerializeValue + Clone + Send + Sync + 'static,

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Encode<'_, ScyllaDB> for (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T3: SerializeValue + Clone + Send + Sync + 'static, T4: SerializeValue + Clone + Send + Sync + 'static, T5: SerializeValue + Clone + Send + Sync + 'static, T6: SerializeValue + Clone + Send + Sync + 'static, T7: SerializeValue + Clone + Send + Sync + 'static, T8: SerializeValue + Clone + Send + Sync + 'static, T9: SerializeValue + Clone + Send + Sync + 'static, T10: SerializeValue + Clone + Send + Sync + 'static, T11: SerializeValue + Clone + Send + Sync + 'static, T12: SerializeValue + Clone + Send + Sync + 'static, T13: SerializeValue + Clone + Send + Sync + 'static, T14: SerializeValue + Clone + Send + Sync + 'static, T15: SerializeValue + Clone + Send + Sync + 'static,

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Encode<'_, ScyllaDB> for (T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T4: SerializeValue + Clone + Send + Sync + 'static, T5: SerializeValue + Clone + Send + Sync + 'static, T6: SerializeValue + Clone + Send + Sync + 'static, T7: SerializeValue + Clone + Send + Sync + 'static, T8: SerializeValue + Clone + Send + Sync + 'static, T9: SerializeValue + Clone + Send + Sync + 'static, T10: SerializeValue + Clone + Send + Sync + 'static, T11: SerializeValue + Clone + Send + Sync + 'static, T12: SerializeValue + Clone + Send + Sync + 'static, T13: SerializeValue + Clone + Send + Sync + 'static, T14: SerializeValue + Clone + Send + Sync + 'static, T15: SerializeValue + Clone + Send + Sync + 'static,

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Encode<'_, ScyllaDB> for (T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T5: SerializeValue + Clone + Send + Sync + 'static, T6: SerializeValue + Clone + Send + Sync + 'static, T7: SerializeValue + Clone + Send + Sync + 'static, T8: SerializeValue + Clone + Send + Sync + 'static, T9: SerializeValue + Clone + Send + Sync + 'static, T10: SerializeValue + Clone + Send + Sync + 'static, T11: SerializeValue + Clone + Send + Sync + 'static, T12: SerializeValue + Clone + Send + Sync + 'static, T13: SerializeValue + Clone + Send + Sync + 'static, T14: SerializeValue + Clone + Send + Sync + 'static, T15: SerializeValue + Clone + Send + Sync + 'static,

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Encode<'_, ScyllaDB> for (T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T6: SerializeValue + Clone + Send + Sync + 'static, T7: SerializeValue + Clone + Send + Sync + 'static, T8: SerializeValue + Clone + Send + Sync + 'static, T9: SerializeValue + Clone + Send + Sync + 'static, T10: SerializeValue + Clone + Send + Sync + 'static, T11: SerializeValue + Clone + Send + Sync + 'static, T12: SerializeValue + Clone + Send + Sync + 'static, T13: SerializeValue + Clone + Send + Sync + 'static, T14: SerializeValue + Clone + Send + Sync + 'static, T15: SerializeValue + Clone + Send + Sync + 'static,

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<T7, T8, T9, T10, T11, T12, T13, T14, T15> Encode<'_, ScyllaDB> for (T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T7: SerializeValue + Clone + Send + Sync + 'static, T8: SerializeValue + Clone + Send + Sync + 'static, T9: SerializeValue + Clone + Send + Sync + 'static, T10: SerializeValue + Clone + Send + Sync + 'static, T11: SerializeValue + Clone + Send + Sync + 'static, T12: SerializeValue + Clone + Send + Sync + 'static, T13: SerializeValue + Clone + Send + Sync + 'static, T14: SerializeValue + Clone + Send + Sync + 'static, T15: SerializeValue + Clone + Send + Sync + 'static,

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<T8, T9, T10, T11, T12, T13, T14, T15> Encode<'_, ScyllaDB> for (T8, T9, T10, T11, T12, T13, T14, T15)
where T8: SerializeValue + Clone + Send + Sync + 'static, T9: SerializeValue + Clone + Send + Sync + 'static, T10: SerializeValue + Clone + Send + Sync + 'static, T11: SerializeValue + Clone + Send + Sync + 'static, T12: SerializeValue + Clone + Send + Sync + 'static, T13: SerializeValue + Clone + Send + Sync + 'static, T14: SerializeValue + Clone + Send + Sync + 'static, T15: SerializeValue + Clone + Send + Sync + 'static,

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<T9, T10, T11, T12, T13, T14, T15> Encode<'_, ScyllaDB> for (T9, T10, T11, T12, T13, T14, T15)
where T9: SerializeValue + Clone + Send + Sync + 'static, T10: SerializeValue + Clone + Send + Sync + 'static, T11: SerializeValue + Clone + Send + Sync + 'static, T12: SerializeValue + Clone + Send + Sync + 'static, T13: SerializeValue + Clone + Send + Sync + 'static, T14: SerializeValue + Clone + Send + Sync + 'static, T15: SerializeValue + Clone + Send + Sync + 'static,

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Arc<String>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Arc<Vec<CqlDate>>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Arc<Vec<CqlDuration>>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Arc<Vec<CqlTime>>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Arc<Vec<CqlTimestamp>>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Arc<Vec<CqlTimeuuid>>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Arc<Vec<IpAddr>>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Arc<Vec<String>>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Arc<Vec<Uuid>>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Arc<Vec<bool>>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Arc<Vec<f32>>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Arc<Vec<f64>>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Arc<Vec<i16>>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Arc<Vec<i32>>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Arc<Vec<i64>>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Arc<Vec<i8>>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for CqlDate

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for CqlDuration

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for CqlTime

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for CqlTimestamp

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for CqlTimeuuid

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for HashMap<String, IpAddr>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for HashMap<String, String>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for HashMap<String, Uuid>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for HashMap<String, bool>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for HashMap<String, f32>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for HashMap<String, f64>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for HashMap<String, i16>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for HashMap<String, i32>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for HashMap<String, i64>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for HashMap<String, i8>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for IpAddr

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Rc<String>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for String

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Uuid

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Vec<&str>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Vec<CqlDate>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Vec<CqlDuration>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Vec<CqlTime>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Vec<CqlTimestamp>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Vec<CqlTimeuuid>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Vec<IpAddr>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Vec<String>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Vec<Uuid>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Vec<bool>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Vec<f32>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Vec<f64>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Vec<i16>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Vec<i32>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Vec<i64>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for Vec<i8>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for bool

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for f32

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for f64

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for i16

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for i32

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for i64

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, ScyllaDB> for i8

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<'q, T> Encode<'q, ScyllaDB> for Option<T>
where T: Encode<'q, ScyllaDB> + Type<ScyllaDB> + 'q,

Source§

fn produces(&self) -> Option<<ScyllaDB as Database>::TypeInfo>

Source§

fn encode( self, buf: &mut <ScyllaDB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut <ScyllaDB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn size_hint(&self) -> usize

Source§

impl<'r> Encode<'r, ScyllaDB> for &'r str

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<'r> Encode<'r, ScyllaDB> for Arc<Vec<Vec<u8>>>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<'r> Encode<'r, ScyllaDB> for Arc<Vec<u8>>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<'r> Encode<'r, ScyllaDB> for Arc<str>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<'r> Encode<'r, ScyllaDB> for Box<str>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<'r> Encode<'r, ScyllaDB> for Cow<'_, str>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<'r> Encode<'r, ScyllaDB> for Rc<str>

Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<'r> Encode<'r, ScyllaDB> for Vec<Vec<u8>>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<'r> Encode<'r, ScyllaDB> for Vec<u8>

Source§

fn encode( self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut ScyllaDBArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl MigrateDatabase for ScyllaDB

Source§

fn create_database( url: &str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + '_>>

Source§

fn database_exists( url: &str, ) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send + '_>>

Source§

fn drop_database( url: &str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + '_>>

Source§

fn force_drop_database( _url: &str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + '_>>

Source§

impl TestSupport for ScyllaDB

Source§

fn db_name(args: &TestArgs) -> String

use sqlx_core::testing::TestSupport;
let args = ::sqlx_core::testing::TestArgs{
    test_path: "my_test_function",
    migrator: None,
    fixtures: &[],
};
let name = ::sqlx_scylladb_core::ScyllaDB::db_name(&args);
assert_eq!("sqlx_test_ai4drkqtg4lnnkdlk7fjtixcrmcc7cnwamqrm", name);
Source§

fn test_context( args: &TestArgs, ) -> Pin<Box<dyn Future<Output = Result<TestContext<ScyllaDB>, Error>> + Send + '_>>

Get parameters to construct a Pool suitable for testing. Read more
Source§

fn cleanup_test( db_name: &str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + '_>>

Source§

fn cleanup_test_dbs() -> Pin<Box<dyn Future<Output = Result<Option<usize>, Error>> + Send>>

Cleanup any test databases that are no longer in-use. Read more
Source§

fn snapshot( _conn: &mut <ScyllaDB as Database>::Connection, ) -> Pin<Box<dyn Future<Output = Result<FixtureSnapshot<ScyllaDB>, Error>> + Send + '_>>

Take a snapshot of the current state of the database (data only). Read more
Source§

impl Type<ScyllaDB> for &str

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<const N: usize, const M: usize> Type<ScyllaDB> for [[u8; N]; M]

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T> Type<ScyllaDB> for [T]

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ScyllaDBTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T, const N: usize> Type<ScyllaDB> for [T; N]

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ScyllaDBTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for [u8]

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<const N: usize> Type<ScyllaDB> for [u8; N]

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Type<ScyllaDB> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T0: Type<ScyllaDB>, T1: Type<ScyllaDB>, T2: Type<ScyllaDB>, T3: Type<ScyllaDB>, T4: Type<ScyllaDB>, T5: Type<ScyllaDB>, T6: Type<ScyllaDB>, T7: Type<ScyllaDB>, T8: Type<ScyllaDB>, T9: Type<ScyllaDB>, T10: Type<ScyllaDB>, T11: Type<ScyllaDB>, T12: Type<ScyllaDB>, T13: Type<ScyllaDB>, T14: Type<ScyllaDB>, T15: Type<ScyllaDB>,

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Type<ScyllaDB> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T1: Type<ScyllaDB>, T2: Type<ScyllaDB>, T3: Type<ScyllaDB>, T4: Type<ScyllaDB>, T5: Type<ScyllaDB>, T6: Type<ScyllaDB>, T7: Type<ScyllaDB>, T8: Type<ScyllaDB>, T9: Type<ScyllaDB>, T10: Type<ScyllaDB>, T11: Type<ScyllaDB>, T12: Type<ScyllaDB>, T13: Type<ScyllaDB>, T14: Type<ScyllaDB>, T15: Type<ScyllaDB>,

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T10, T11, T12, T13, T14, T15> Type<ScyllaDB> for (T10, T11, T12, T13, T14, T15)
where T10: Type<ScyllaDB>, T11: Type<ScyllaDB>, T12: Type<ScyllaDB>, T13: Type<ScyllaDB>, T14: Type<ScyllaDB>, T15: Type<ScyllaDB>,

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T11, T12, T13, T14, T15> Type<ScyllaDB> for (T11, T12, T13, T14, T15)
where T11: Type<ScyllaDB>, T12: Type<ScyllaDB>, T13: Type<ScyllaDB>, T14: Type<ScyllaDB>, T15: Type<ScyllaDB>,

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T12, T13, T14, T15> Type<ScyllaDB> for (T12, T13, T14, T15)
where T12: Type<ScyllaDB>, T13: Type<ScyllaDB>, T14: Type<ScyllaDB>, T15: Type<ScyllaDB>,

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T13, T14, T15> Type<ScyllaDB> for (T13, T14, T15)
where T13: Type<ScyllaDB>, T14: Type<ScyllaDB>, T15: Type<ScyllaDB>,

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T14, T15> Type<ScyllaDB> for (T14, T15)
where T14: Type<ScyllaDB>, T15: Type<ScyllaDB>,

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T15> Type<ScyllaDB> for (T15,)
where T15: Type<ScyllaDB>,

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Type<ScyllaDB> for (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T2: Type<ScyllaDB>, T3: Type<ScyllaDB>, T4: Type<ScyllaDB>, T5: Type<ScyllaDB>, T6: Type<ScyllaDB>, T7: Type<ScyllaDB>, T8: Type<ScyllaDB>, T9: Type<ScyllaDB>, T10: Type<ScyllaDB>, T11: Type<ScyllaDB>, T12: Type<ScyllaDB>, T13: Type<ScyllaDB>, T14: Type<ScyllaDB>, T15: Type<ScyllaDB>,

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Type<ScyllaDB> for (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T3: Type<ScyllaDB>, T4: Type<ScyllaDB>, T5: Type<ScyllaDB>, T6: Type<ScyllaDB>, T7: Type<ScyllaDB>, T8: Type<ScyllaDB>, T9: Type<ScyllaDB>, T10: Type<ScyllaDB>, T11: Type<ScyllaDB>, T12: Type<ScyllaDB>, T13: Type<ScyllaDB>, T14: Type<ScyllaDB>, T15: Type<ScyllaDB>,

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Type<ScyllaDB> for (T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T4: Type<ScyllaDB>, T5: Type<ScyllaDB>, T6: Type<ScyllaDB>, T7: Type<ScyllaDB>, T8: Type<ScyllaDB>, T9: Type<ScyllaDB>, T10: Type<ScyllaDB>, T11: Type<ScyllaDB>, T12: Type<ScyllaDB>, T13: Type<ScyllaDB>, T14: Type<ScyllaDB>, T15: Type<ScyllaDB>,

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Type<ScyllaDB> for (T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T5: Type<ScyllaDB>, T6: Type<ScyllaDB>, T7: Type<ScyllaDB>, T8: Type<ScyllaDB>, T9: Type<ScyllaDB>, T10: Type<ScyllaDB>, T11: Type<ScyllaDB>, T12: Type<ScyllaDB>, T13: Type<ScyllaDB>, T14: Type<ScyllaDB>, T15: Type<ScyllaDB>,

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Type<ScyllaDB> for (T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T6: Type<ScyllaDB>, T7: Type<ScyllaDB>, T8: Type<ScyllaDB>, T9: Type<ScyllaDB>, T10: Type<ScyllaDB>, T11: Type<ScyllaDB>, T12: Type<ScyllaDB>, T13: Type<ScyllaDB>, T14: Type<ScyllaDB>, T15: Type<ScyllaDB>,

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T7, T8, T9, T10, T11, T12, T13, T14, T15> Type<ScyllaDB> for (T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T7: Type<ScyllaDB>, T8: Type<ScyllaDB>, T9: Type<ScyllaDB>, T10: Type<ScyllaDB>, T11: Type<ScyllaDB>, T12: Type<ScyllaDB>, T13: Type<ScyllaDB>, T14: Type<ScyllaDB>, T15: Type<ScyllaDB>,

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T8, T9, T10, T11, T12, T13, T14, T15> Type<ScyllaDB> for (T8, T9, T10, T11, T12, T13, T14, T15)
where T8: Type<ScyllaDB>, T9: Type<ScyllaDB>, T10: Type<ScyllaDB>, T11: Type<ScyllaDB>, T12: Type<ScyllaDB>, T13: Type<ScyllaDB>, T14: Type<ScyllaDB>, T15: Type<ScyllaDB>,

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T9, T10, T11, T12, T13, T14, T15> Type<ScyllaDB> for (T9, T10, T11, T12, T13, T14, T15)
where T9: Type<ScyllaDB>, T10: Type<ScyllaDB>, T11: Type<ScyllaDB>, T12: Type<ScyllaDB>, T13: Type<ScyllaDB>, T14: Type<ScyllaDB>, T15: Type<ScyllaDB>,

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for Arc<String>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for Arc<str>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for Box<str>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for Counter

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for Cow<'_, str>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for CqlDate

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for CqlDuration

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for CqlTime

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for CqlTimestamp

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for CqlTimeuuid

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for HashMap<String, IpAddr>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for HashMap<String, String>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for HashMap<String, Uuid>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for HashMap<String, bool>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for HashMap<String, f32>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for HashMap<String, f64>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for HashMap<String, i16>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for HashMap<String, i32>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for HashMap<String, i64>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for HashMap<String, i8>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for IpAddr

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for Rc<String>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for Rc<str>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for String

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for Uuid

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T> Type<ScyllaDB> for Vec<T>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ScyllaDBTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for Vec<Vec<u8>>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for Vec<u8>

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for bool

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for f32

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for f64

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for i16

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for i32

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for i64

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<ScyllaDB> for i8

Source§

fn type_info() -> ScyllaDBTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl HasStatementCache for ScyllaDB

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,