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 55706e9 commit 4599706Copy full SHA for 4599706
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