Module cdrs::types

source ·

Modules

Structs

The structure that represents Cassandra byte type.
Cassandra short bytes
The structure wich represets Cassandra [inet] (https://github.com/apache/cassandra/blob/trunk/doc/native_protocol_v4.spec#L222).

Constants

Traits

Should be used to represent a single column as a Rust value.
Should be used to return a single column as Rust value by its name.
Should be used to return a single column as Rust value by its name.

Functions

Converts byte-array into u64
Converts byte-array into i64
Converts byte-array into u16
Converts u64 numerical value into array of n bytes
Convers integer into Cassandra’s [int]
Converts f32 into bytes
Converts f64 into array of bytes
Convers integer into Cassandra’s [int]
Converts u64 numerical value into array of n bytes
Converts number i16 into Cassandra’s [short].
Convers integer into Cassandra’s [int]
Convers integer into Cassandra’s int
Converts number i16 into Cassandra’s short.
Converts integer into Cassandra’s [varint].
Tries to decode bytes array into f32.
Tries to decode bytes array into f64.
Tryies to decode bytes array into u64.
Tries to decode bytes array into i16.
Tries to decode bytes array into i32.
Tries to decode bytes array into i64.
Tries to converts u64 numerical value into array of n bytes.
Tryies to decode bytes array into u16.

Type Definitions

Cassandra int type.
Cassandra int short type.