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 trasport of CDRS client.
Curently CDRS provides to concrete transports which implement CDRSTranpsport
trait. There
are:
-
[
TransportTcp
][tTcp] is default TCP transport which is usually used to establish connection and exchange frames. -
TransportTls
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 withssl
feature.
Structs
Default Tcp transport.
Traits
General CDRS transport trait. Both [
TranportTcp
][transportTcp]
and [TransportTls
][transportTls] has their own implementations of this trait. Generaly
speaking it extends/includes io::Read
and io::Write
traits and should be thread safe.
[transportTcp]:struct.TransportTcp.html
[transportTls]:struct.TransportTls.html