MCPcopy Create free account
hub / github.com/Firstyear/opensuse-proxy-cache / MemCacheObj

Class MemCacheObj

opensuse-proxy-cache/src/memcache.rs:10–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9#[derive(Debug, Clone, PartialEq, Eq)]
10pub struct MemCacheObj {
11 pub etag: String,
12 // Time to refresh
13 pub refresh: Instant,
14 pub headers: Vec<(String, String)>,
15 pub content: Option<tide::http::Mime>,
16 pub blob: Vec<u8>,
17}
18
19#[derive(Debug, Clone)]
20pub struct MemCacheMeta {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected