client_conn: reorder ClientConfig members

The `pub(crate)` members should be below the `pub` members and above the
`pub(super)` members.
This commit is contained in:
Daniel McCarney 2024-02-20 09:58:21 -05:00
parent 5138cd81e1
commit 50a656330b
1 changed files with 6 additions and 6 deletions

View File

@ -325,6 +325,12 @@ impl ClientConfig {
}
}
/// Access configuration options whose use is dangerous and requires
/// extra care.
pub fn dangerous(&mut self) -> danger::DangerousClientConfig<'_> {
danger::DangerousClientConfig { cfg: self }
}
/// We support a given TLS version if it's quoted in the configured
/// versions *and* at least one ciphersuite for this version is
/// also configured.
@ -345,12 +351,6 @@ impl ClientConfig {
.any(|cs| cs.usable_for_protocol(proto))
}
/// Access configuration options whose use is dangerous and requires
/// extra care.
pub fn dangerous(&mut self) -> danger::DangerousClientConfig<'_> {
danger::DangerousClientConfig { cfg: self }
}
pub(super) fn find_cipher_suite(&self, suite: CipherSuite) -> Option<SupportedCipherSuite> {
self.provider
.cipher_suites