wip: implemented try_into from the disseminated cert data to rustls server config

This commit is contained in:
Jun Kurihara 2024-05-28 13:41:55 +09:00
commit 2935cbd59b
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
6 changed files with 140 additions and 16 deletions

View file

@ -15,4 +15,7 @@ pub enum RpxyCertError {
/// Error for hot reload certificate reloader
#[error("Certificate reload error: {0}")]
CertificateReloadError(#[from] hot_reload::ReloaderError<crate::server_crypto::ServerCryptoBase>),
/// Error when converting server name bytes to string
#[error("Failed to convert server name bytes to string: {0}")]
ServerNameBytesToString(#[from] std::string::FromUtf8Error),
}