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

Class CacheObj

arc-disk-cache/src/lib.rs:139–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137
138#[derive(Clone, Debug)]
139pub struct CacheObj<K, D>
140where
141 K: Serialize
142 + DeserializeOwned
143 + AsRef<Path>
144 + Hash
145 + Eq
146 + Ord
147 + Clone
148 + Debug
149 + Sync
150 + Send
151 + 'static,
152 D: Serialize + DeserializeOwned + Clone + Debug + Sync + Send + 'static,
153{
154 pub key: K,
155 pub fhandle: Arc<FileHandle>,
156 pub userdata: D,
157}
158
159#[derive(Clone, Debug)]
160pub struct FileHandle {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected