File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -987,6 +987,7 @@ where
987
987
compression : config. compression ,
988
988
tcp_nodelay : config. tcp_nodelay ,
989
989
tcp_keepalive_interval : config. tcp_keepalive_interval ,
990
+ timestamp_generator : config. timestamp_generator ,
990
991
#[ cfg( feature = "ssl" ) ]
991
992
ssl_config : config. ssl_context . map ( SslConfig :: new_with_global_context) ,
992
993
authenticator : config. authenticator . clone ( ) ,
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ use crate::frame::{
22
22
FrameParams , SerializedRequest ,
23
23
} ;
24
24
use crate :: policies:: address_translator:: AddressTranslator ;
25
+ use crate :: policies:: timestamp_generator:: TimestampGenerator ;
25
26
use crate :: query:: Query ;
26
27
use crate :: response:: query_result:: QueryResult ;
27
28
use crate :: response:: {
@@ -324,6 +325,7 @@ pub(crate) struct ConnectionConfig {
324
325
pub ( crate ) compression : Option < Compression > ,
325
326
pub ( crate ) tcp_nodelay : bool ,
326
327
pub ( crate ) tcp_keepalive_interval : Option < Duration > ,
328
+ pub ( crate ) timestamp_generator : Option < Arc < dyn TimestampGenerator > > ,
327
329
#[ cfg( feature = "ssl" ) ]
328
330
pub ( crate ) ssl_config : Option < SslConfig > ,
329
331
pub ( crate ) connect_timeout : std:: time:: Duration ,
@@ -349,6 +351,7 @@ impl Default for ConnectionConfig {
349
351
compression : None ,
350
352
tcp_nodelay : true ,
351
353
tcp_keepalive_interval : None ,
354
+ timestamp_generator : None ,
352
355
event_sender : None ,
353
356
#[ cfg( feature = "ssl" ) ]
354
357
ssl_config : None ,
You can’t perform that action at this time.
0 commit comments