socktop_agent: bump version to 1.40.64

This commit is contained in:
2025-08-28 12:03:45 -07:00
parent 7caf2f4bfb
commit ab3bb33711
5 changed files with 55 additions and 150 deletions
+2 -5
View File
@@ -85,11 +85,8 @@ impl<T> CacheEntry<T> {
self.value = Some(v);
self.at = Some(Instant::now());
}
pub fn take_clone(&self) -> Option<T>
where
T: Clone,
{
self.value.clone()
pub fn get(&self) -> Option<&T> {
self.value.as_ref()
}
}