MCPcopy Create free account
hub / github.com/PacktPublishing/Rust-for-Blockchain-Application-Development / Cache

Class Cache

chapter 2/code.rs:141–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139let mru = CacheType::MRU;
140
141struct Cache{
142 level: String,
143 type: CacheType
144}
145
146// Control Flow
147fn main() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected