We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent badff25 commit 998d19bCopy full SHA for 998d19b
src/test/mock_storage.rs
@@ -65,7 +65,7 @@ impl Storage for MockStorage {
65
Duration::from_secs(0)
66
})
67
}
68
- async fn timestamp_cache_hit(&self, _key: &str) -> Result<Duration> {
+ async fn timestamp_cache_hit(&self, _key: &str) -> Result<Option<Duration>> {
69
Ok(Duration::from_secs(0))
70
71
fn location(&self) -> String {
0 commit comments