Module cdrs_tokio::transport

source ·
Expand description

This module contains a declaration of CdrsTransport trait which should be implemented for particular transport in order to be able using it as a transport of CDRS client.

Currently CDRS provides to concrete transports which implement CdrsTransport trait. There are:

  • TransportTcp is default TCP transport which is usually used to establish connection and exchange frames.

  • [TransportRustls] is a transport which is used to establish SSL encrypted connection with Apache Cassandra server. Note: this option is available if and only if CDRS is imported with rust-tls feature.

Structs§

Traits§