API tests: ignore warnings in ClientStorage mock

This is a complete mock for `rustls::client::ClientSessionStore`,
but we don't have tests that use 100% of its abilities.
This commit is contained in:
Joseph Birr-Pixton 2024-02-27 16:03:31 +00:00 committed by Joe Birr-Pixton
parent 2a7aeec6e8
commit 0eab92f3f0
1 changed files with 1 additions and 0 deletions

View File

@ -3503,6 +3503,7 @@ impl rustls::server::StoresServerSessions for ServerStorage {
}
#[derive(Debug, Clone)]
#[allow(dead_code)] // complete mock, but not 100% used in tests
enum ClientStorageOp {
SetKxHint(ServerName<'static>, rustls::NamedGroup),
GetKxHint(ServerName<'static>, Option<rustls::NamedGroup>),