Docs.rs
  • cassandra-protocol-1.0.0
    • cassandra-protocol 1.0.0
    • Docs.rs crate page
    • MIT/Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • krojew
    • Dependencies
      • arrayref ^0.3 normal
      • bitflags ^1.3 normal
      • chrono ^0.4 normal
      • derivative ^2.2.0 normal
      • derive_more ^0.99 normal
      • float_eq ^0.7 normal
      • itertools ^0.10 normal
      • lz4_flex ^0.9 normal
      • num ^0.4 normal
      • snap ^1 normal
      • thiserror ^1 normal
      • time ^0.3 normal
      • uuid ^0.8 normal
    • Versions
    • 47.02% 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

Module types

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

Module cassandra_protocol::types[−][src]

Modules

blob
data_serialization_types
decimal
from_cdrs
list
map
prelude
rows
tuple
udt
value

Structs

CBytes

The structure that represents Cassandra byte type.

CBytesShort

Cassandra short bytes

CInet

The structure which represents Cassandra inet (https://github.com/apache/cassandra/blob/trunk/doc/native_protocol_v4.spec).

Constants

INT_LEN
LONG_LEN
SHORT_LEN
UUID_LEN

Traits

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.