wip: refactor

This commit is contained in:
Jun Kurihara 2024-05-28 14:41:19 +09:00
commit e5bfc2c4ea
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
2 changed files with 33 additions and 16 deletions

View file

@ -12,7 +12,7 @@ use std::sync::Arc;
/* ------------------------------------------------ */
/// Boxed CryptoSource trait object with Send and Sync
/// TODO: support for not only `CryptoFileSource` but also other type of sources
type DynCryptoSource = dyn CryptoSource<Error = RpxyCertError> + Send + Sync + 'static;
pub(super) type DynCryptoSource = dyn CryptoSource<Error = RpxyCertError> + Send + Sync + 'static;
#[derive(Clone)]
/// Reloader service for certificates and keys for TLS