File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ struct ReceivedPage {
62
62
tracing_id : Option < Uuid > ,
63
63
}
64
64
65
- pub ( crate ) struct PreparedIteratorConfig {
65
+ pub ( crate ) struct PreparedPagerConfig {
66
66
pub ( crate ) prepared : PreparedStatement ,
67
67
pub ( crate ) values : SerializedValues ,
68
68
pub ( crate ) execution_profile : Arc < ExecutionProfileInner > ,
@@ -763,7 +763,7 @@ impl QueryPager {
763
763
}
764
764
765
765
pub ( crate ) async fn new_for_prepared_statement (
766
- config : PreparedIteratorConfig ,
766
+ config : PreparedPagerConfig ,
767
767
) -> Result < Self , NextPageError > {
768
768
let ( sender, receiver) = mpsc:: channel :: < Result < ReceivedPage , NextPageError > > ( 1 ) ;
769
769
Original file line number Diff line number Diff line change 2
2
//! It manages all connections to the cluster and allows to execute CQL requests.
3
3
4
4
use super :: execution_profile:: { ExecutionProfile , ExecutionProfileHandle , ExecutionProfileInner } ;
5
- use super :: pager:: { PreparedIteratorConfig , QueryPager } ;
5
+ use super :: pager:: { PreparedPagerConfig , QueryPager } ;
6
6
use super :: { Compression , PoolSize , SelfIdentity , WriteCoalescingDelay } ;
7
7
use crate :: authentication:: AuthenticatorProvider ;
8
8
#[ cfg( feature = "unstable-cloud" ) ]
@@ -1183,7 +1183,7 @@ impl Session {
1183
1183
// we fully prepare a statement beforehand.
1184
1184
let prepared = self . prepare ( statement) . await ?;
1185
1185
let values = prepared. serialize_values ( & values) ?;
1186
- QueryPager :: new_for_prepared_statement ( PreparedIteratorConfig {
1186
+ QueryPager :: new_for_prepared_statement ( PreparedPagerConfig {
1187
1187
prepared,
1188
1188
values,
1189
1189
execution_profile,
@@ -1442,7 +1442,7 @@ impl Session {
1442
1442
. unwrap_or_else ( || self . get_default_execution_profile_handle ( ) )
1443
1443
. access ( ) ;
1444
1444
1445
- QueryPager :: new_for_prepared_statement ( PreparedIteratorConfig {
1445
+ QueryPager :: new_for_prepared_statement ( PreparedPagerConfig {
1446
1446
prepared,
1447
1447
values : serialized_values,
1448
1448
execution_profile,
You can’t perform that action at this time.
0 commit comments