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

Method from_str

hail-fuzz/src/debugging/replay.rs:31–37  ·  view source on GitHub ↗
(s: &str)

Source from the content-addressed store, hash-verified

29 type Err = ();
30
31 fn from_str(s: &str) -> Result<Self, Self::Err> {
32 Ok(match s {
33 "full" => Self::Full,
34 "blocks" => Self::BlocksOnly,
35 _ => Self::BlocksOnly,
36 })
37 }
38}
39
40pub fn save_block_coverage(mut config: Config, mode: SaveMode) -> anyhow::Result<()> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected