wip: implement on-memory cache as is

This commit is contained in:
Jun Kurihara 2023-12-09 12:14:59 +09:00
commit ed33c5d4f1
No known key found for this signature in database
GPG key ID: D992B3E3DE1DED23
3 changed files with 46 additions and 6 deletions

View file

@ -93,6 +93,10 @@ pub enum RpxyError {
#[error("Failed to write byte buffer")]
FailedToWriteByteBufferForCache,
#[cfg(feature = "cache")]
#[error("Failed to acquire mutex lock for cache")]
FailedToAcquiredMutexLockForCache,
// Upstream connection setting errors
#[error("Unsupported upstream option")]
UnsupportedUpstreamOption,