We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80b04d0 commit 4c78946Copy full SHA for 4c78946
foyer/src/hybrid/cache.rs
@@ -526,6 +526,11 @@ where
526
&self.inner.memory
527
}
528
529
+ /// Access the disk cache.
530
+ pub fn storage(&self) -> &Store<K, V, S, HybridCacheProperties> {
531
+ &self.inner.storage
532
+ }
533
+
534
/// Enable tracing.
535
#[cfg(feature = "tracing")]
536
pub fn enable_tracing(&self) {
@@ -847,10 +852,6 @@ where
847
852
self.inner.storage.is_enabled()
848
853
849
854
850
- pub(crate) fn storage(&self) -> &Store<K, V, S, HybridCacheProperties> {
851
- &self.inner.storage
- }
-
855
pub(crate) fn metrics(&self) -> &Arc<Metrics> {
856
&self.inner.metrics
857
0 commit comments