MCPcopy Create free account
hub / github.com/MultiFuzz/MultiFuzz / restore

Method restore

icicle-cortexm/src/mmio.rs:185–190  ·  view source on GitHub ↗
(&mut self, snapshot: &Box<dyn std::any::Any>)

Source from the content-addressed store, hash-verified

183 }
184
185 fn restore(&mut self, snapshot: &Box<dyn std::any::Any>) {
186 let (passthrough, source) =
187 snapshot.downcast_ref::<(Vec<u32>, Box<dyn std::any::Any>)>().unwrap();
188 self.passthrough.clone_from(passthrough);
189 self.source.restore(source)
190 }
191}
192
193/// Represents an input source where every MMIO access is read from a global input stream.

Callers

nothing calls this directly

Calls 1

clone_fromMethod · 0.80

Tested by

no test coverage detected