File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ impl Metadata {
380380impl MetadataReader {
381381 /// Creates new MetadataReader, which connects to initially_known_peers in the background
382382 #[ allow( clippy:: too_many_arguments) ]
383- pub fn new (
383+ pub ( crate ) fn new (
384384 initially_known_peers : Vec < ContactPoint > ,
385385 mut connection_config : ConnectionConfig ,
386386 keepalive_interval : Option < Duration > ,
@@ -423,7 +423,7 @@ impl MetadataReader {
423423 }
424424
425425 /// Fetches current metadata from the cluster
426- pub async fn read_metadata ( & mut self , initial : bool ) -> Result < Metadata , QueryError > {
426+ pub ( crate ) async fn read_metadata ( & mut self , initial : bool ) -> Result < Metadata , QueryError > {
427427 let mut result = self . fetch_metadata ( initial) . await ;
428428 if let Ok ( metadata) = result {
429429 self . update_known_peers ( & metadata) ;
You can’t perform that action at this time.
0 commit comments