Docs.rs
  • cassandra-protocol-2.0.0
    • cassandra-protocol 2.0.0
    • Docs.rs crate page
    • MIT/Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • krojew
    • Dependencies
      • arc-swap ^1.5.0 normal
      • arrayref ^0.3.6 normal
      • bitflags ^1.3.2 normal
      • chrono ^0.4.20 normal
      • crc32fast ^1.3.2 normal
      • derivative ^2.2.0 normal
      • derive_more ^0.99.17 normal
      • float_eq ^1.0.0 normal
      • integer-encoding ^3.0.3 normal
      • itertools ^0.10.3 normal
      • lz4_flex ^0.9.3 normal
      • num ^0.4.0 normal
      • snap ^1.0.5 normal
      • thiserror ^1.0.31 normal
      • time ^0.3.9 normal
      • uuid ^1.0.0 normal
    • Versions
    • 45.96% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Module types

  • Modules
  • Structs
  • Constants
  • Traits
  • Functions
  • Type Definitions
logo
Change settings

Module cassandra_protocol::types

source · [−]

Modules

blob
cassandra_type
data_serialization_types
decimal
duration
from_cdrs
list
map
prelude
rows
tuple
udt
value

Structs

CBytes
The structure that represents Cassandra byte type.
CBytesShort
Cassandra short bytes

Constants

INT_LEN
LONG_LEN
SHORT_LEN
UUID_LEN

Traits

AsCassandraType
AsRust
AsRustType
Should be used to represent a single column as a Rust value.
ByIndex
ByName
IntoRustByIndex
Should be used to return a single column as Rust value by its name.
IntoRustByName
Should be used to return a single column as Rust value by its name.

Functions

cursor_next_value
cursor_next_value_ref
from_cursor_string_list
serialize_str
to_bigint
to_float
to_float_big
to_int
to_short
to_u_big
to_u_int
to_u_short
try_f32_from_bytes
try_f64_from_bytes
try_i16_from_bytes
try_i32_from_bytes
try_i64_from_bytes
try_u64_from_bytes
u16_from_bytes

Type Definitions

CInt
Cassandra int type.
CIntShort
Cassandra int short type.
CLong
Cassandra long type.