We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ca9a7c commit f170744Copy full SHA for f170744
scylla/src/cluster/metadata.rs
@@ -152,13 +152,12 @@ impl UntranslatedEndpoint {
152
/// Data used to issue connections to a node.
153
///
154
/// Fetched from the cluster in Metadata.
155
-#[non_exhaustive] // <- so that we can add more fields in a backwards-compatible way
156
#[derive(Clone, Debug)]
157
-pub struct PeerEndpoint {
158
- pub host_id: Uuid,
159
- pub address: NodeAddr,
160
- pub datacenter: Option<String>,
161
- pub rack: Option<String>,
+pub(crate) struct PeerEndpoint {
+ pub(crate) host_id: Uuid,
+ pub(crate) address: NodeAddr,
+ pub(crate) datacenter: Option<String>,
+ pub(crate) rack: Option<String>,
162
}
163
164
impl Peer {
0 commit comments